Show the user if a contact is sharing with them when viewing their profile page.
This commit is contained in:
parent
221c1bf959
commit
1109658e83
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue