From 33fada305cf0390f6abb81eaff0859ab2fadb35a Mon Sep 17 00:00:00 2001 From: David Morley Date: Fri, 24 Feb 2012 20:46:27 -0600 Subject: [PATCH] put all the elements back on the page and make facebook inviter usable again --- app/views/services/_remote_friend.html.haml | 28 +++++++++++---------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/app/views/services/_remote_friend.html.haml b/app/views/services/_remote_friend.html.haml index 22e0b10e7..36e74627e 100644 --- a/app/views/services/_remote_friend.html.haml +++ b/app/views/services/_remote_friend.html.haml @@ -1,5 +1,5 @@ -.stream_element.contact{:id => friend.id} - .right +.stream_element{:id => friend.id} + .float-right - if friend.already_invited? = link_to t('.resend'), service_inviter_path(:uid => friend.uid, :provider => 'facebook', :invitation_id => friend.invitation_id), :class => 'button resend' @@ -8,17 +8,19 @@ - else = render 'shared/aspect_dropdown', :selected_aspects => contact_proxy(friend).aspects, :person => friend.person, :hang => 'left', :dropdown_class => 'inviter', :service_uid => friend.uid - - if friend.on_diaspora? - = person_image_link(friend.person, :size => :thumb_small) - - else - = image_tag(friend.photo_url, :class => 'avatar') - - .content - %span.from.name - - if friend.on_diaspora? - = link_to friend.name, local_or_remote_person_path(friend.person) - - else - = friend.name + .media + - if friend.on_diaspora? + .img + = person_image_link(friend.person, :size => :thumb_small) + - else + .img + = image_tag(friend.photo_url, :class => 'avatar') + .content + %span.from.name + - if friend.on_diaspora? + = link_to friend.name, local_or_remote_person_path(friend.person) + - else + = friend.name .info