Handle the case where the pod doesn't have the diasporahq user.
This commit is contained in:
parent
421bfe6d8f
commit
66bb686f4b
1 changed files with 11 additions and 11 deletions
|
|
@ -70,19 +70,19 @@
|
||||||
= t('.connect_with_people_explanation')
|
= t('.connect_with_people_explanation')
|
||||||
|
|
||||||
#diaspora_hq_pane
|
#diaspora_hq_pane
|
||||||
- person = Person.find_by_diaspora_handle("diasporahq@joindiaspora.com")
|
- if diasporahq = Person.find_by_diaspora_handle("diasporahq@joindiaspora.com")
|
||||||
= person_image_link(person, :size => :thumb_medium)
|
= person_image_link(diasporahq, :size => :thumb_medium)
|
||||||
|
|
||||||
.name
|
.name
|
||||||
= person_link(person)
|
= person_link(diasporahq)
|
||||||
|
|
||||||
.info
|
.info
|
||||||
Get updates about the project from the core team.
|
Get updates about the project from the core team.
|
||||||
|
|
||||||
.add_to_aspect
|
.add_to_aspect
|
||||||
= render :partial => 'people/relationship_action',
|
= render :partial => 'people/relationship_action',
|
||||||
:locals => { :person => person,
|
:locals => { :person => diasporahq,
|
||||||
:contact => current_user.contact_for(person),
|
:contact => current_user.contact_for(diasporahq),
|
||||||
:current_user => current_user }
|
:current_user => current_user }
|
||||||
|
|
||||||
#featured_users_pane
|
#featured_users_pane
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue