fixed some 500 on mobile site
This commit is contained in:
parent
cf66e3aebb
commit
21d0fcf47a
3 changed files with 4 additions and 4 deletions
|
|
@ -7,7 +7,7 @@
|
||||||
DIASPORA*
|
DIASPORA*
|
||||||
|
|
||||||
#author_info.profile
|
#author_info.profile
|
||||||
- unless @contact.persisted? || current_user.person == @person
|
- if user_signed_in? && !(@contact.persisted? || current_user.person == @person)
|
||||||
.right
|
.right
|
||||||
= link_to "start sharing",
|
= link_to "start sharing",
|
||||||
{:controller => "contact",
|
{:controller => "contact",
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
.description
|
.description
|
||||||
= @person.diaspora_handle
|
= @person.diaspora_handle
|
||||||
|
|
||||||
- unless @contact.persisted? || current_user.person == @person
|
- if user_signed_in? && !(@contact.persisted? || current_user.person == @person)
|
||||||
- if @incoming_request
|
- if @incoming_request
|
||||||
.floating
|
.floating
|
||||||
%h3
|
%h3
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
#publisher_text
|
#publisher_text
|
||||||
= t('.whats_on_your_mind')
|
= t('.whats_on_your_mind')
|
||||||
|
|
||||||
= status.text_area :message
|
= status.text_area :text
|
||||||
|
|
||||||
- for aspect_id in @aspect_ids
|
- for aspect_id in @aspect_ids
|
||||||
= hidden_field_tag 'aspect_ids[]', aspect_id.to_s
|
= hidden_field_tag 'aspect_ids[]', aspect_id.to_s
|
||||||
|
|
|
||||||
|
|
@ -83,4 +83,4 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
Diaspora.widgets.add("embedder", Embedder);
|
Diaspora.widgets.add("embedder", Embedder);
|
||||||
})();
|
})();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue