fix aspect dropdown when friend on diaspora
This commit is contained in:
parent
0b4521fada
commit
099d882814
1 changed files with 8 additions and 9 deletions
|
|
@ -5,12 +5,13 @@
|
||||||
%br
|
%br
|
||||||
= link_to t('.resend'), service_inviter_path(:uid => friend.uid, :provider => 'facebook', :invitation_id => friend.invitation_id)
|
= link_to t('.resend'), service_inviter_path(:uid => friend.uid, :provider => 'facebook', :invitation_id => friend.invitation_id)
|
||||||
- elsif friend.on_diaspora?
|
- elsif friend.on_diaspora?
|
||||||
= link_to(t('people.show.start_sharing'),'#', :class => 'button')
|
%li{:id => "options_" + friend.uid, :class => "share_with hidden", :style => "height:auto"}
|
||||||
|
= render 'aspect_memberships/aspect_dropdown', :contact => contact_proxy(friend), :person => friend.person, :hang => 'left'
|
||||||
= form_tag service_inviter_path(:provider => 'facebook') do
|
- else
|
||||||
= select_tag(:aspect_id, options_from_collection_for_select(all_aspects, 'id', 'name'))
|
= form_tag service_inviter_path(:provider => 'facebook') do
|
||||||
= hidden_field_tag :uid, friend.uid
|
= select_tag(:aspect_id, options_from_collection_for_select(all_aspects, 'id', 'name'))
|
||||||
= submit_tag t('.invite')
|
= hidden_field_tag :uid, friend.uid
|
||||||
|
= submit_tag t('.invite')
|
||||||
|
|
||||||
- if friend.on_diaspora?
|
- if friend.on_diaspora?
|
||||||
= person_image_link(friend.person)
|
= person_image_link(friend.person)
|
||||||
|
|
@ -23,6 +24,4 @@
|
||||||
- else
|
- else
|
||||||
= friend.name
|
= friend.name
|
||||||
|
|
||||||
- if friend.on_diaspora?
|
|
||||||
%li{:id => "options_" + friend.uid, :class => "share_with hidden", :style => "height:auto"}
|
|
||||||
= render 'aspect_memberships/aspect_dropdown', :contact => contact_proxy(friend), :person => friend.person, :hang => 'left'
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue