put all the elements back on the page and make facebook inviter usable again

This commit is contained in:
David Morley 2012-02-24 20:46:27 -06:00
parent ead0b14a48
commit 33fada305c

View file

@ -1,5 +1,5 @@
.stream_element.contact{:id => friend.id} .stream_element{:id => friend.id}
.right .float-right
- if friend.already_invited? - if friend.already_invited?
= link_to t('.resend'), service_inviter_path(:uid => friend.uid, :provider => 'facebook', :invitation_id => friend.invitation_id), :class => 'button resend' = link_to t('.resend'), service_inviter_path(:uid => friend.uid, :provider => 'facebook', :invitation_id => friend.invitation_id), :class => 'button resend'
@ -8,11 +8,13 @@
- else - else
= render 'shared/aspect_dropdown', :selected_aspects => contact_proxy(friend).aspects, :person => friend.person, :hang => 'left', :dropdown_class => 'inviter', :service_uid => friend.uid = render 'shared/aspect_dropdown', :selected_aspects => contact_proxy(friend).aspects, :person => friend.person, :hang => 'left', :dropdown_class => 'inviter', :service_uid => friend.uid
.media
- if friend.on_diaspora? - if friend.on_diaspora?
.img
= person_image_link(friend.person, :size => :thumb_small) = person_image_link(friend.person, :size => :thumb_small)
- else - else
.img
= image_tag(friend.photo_url, :class => 'avatar') = image_tag(friend.photo_url, :class => 'avatar')
.content .content
%span.from.name %span.from.name
- if friend.on_diaspora? - if friend.on_diaspora?