make contact listings more compact on contact index (we don't need to know their tags here)

This commit is contained in:
danielgrippi 2011-06-27 15:32:39 -07:00
parent f839714646
commit 9e92230cf7
2 changed files with 36 additions and 2 deletions

View file

@ -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.

View file

@ -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