diff --git a/app/views/contacts/index.html.haml b/app/views/contacts/index.html.haml index 9189aa599..ca7d1872a 100644 --- a/app/views/contacts/index.html.haml +++ b/app/views/contacts/index.html.haml @@ -34,10 +34,22 @@ All Contacts .span-15 - #people_stream.stream + #people_stream.stream.contacts - if @contacts.size > 0 - for contact in @contacts - = render :partial => 'people/person', :locals => {:contact => contact, :person => contact.person} + + .stream_element{:id => contact.person.id} + .right + = render :partial => 'people/relationship_action', + :locals => { :person => contact.person, :contact => contact, + :current_user => current_user } + = person_image_link(contact.person) + .content + %span.from + =person_link(contact.person) + .info + = contact.person.diaspora_handle + - else %h3.no_contacts No contacts. diff --git a/public/stylesheets/sass/application.sass b/public/stylesheets/sass/application.sass index b62caff97..9a4b607f2 100644 --- a/public/stylesheets/sass/application.sass +++ b/public/stylesheets/sass/application.sass @@ -3024,3 +3024,25 @@ ul#left_nav .no_contacts :text-align center :top 50px + +#people_stream.contacts + .stream_element + :padding 10px + :min-height 30px + .right + :top 16px + .from + :position relative + a + :color #444 + .content + :padding + :left 40px + .info + :margin + :top -2px + + .avatar + :height 30px + :width 30px +