Show the user if a contact is sharing with them when viewing their profile page.

This commit is contained in:
David Thompson 2013-06-19 07:38:14 -04:00
parent 221c1bf959
commit 1109658e83

View file

@ -5,6 +5,11 @@
#profile
.profile_photo
= person_image_link(person, :size => :thumb_large, :to => :photos)
- if contact.sharing?
.info
= image_tag('icons/check_yes_ok.png')
= person.name
is sharing with you
- if user_signed_in?
- if person != current_user.person