From 1109658e8320996a9f5f32646d07140151fb5583 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 19 Jun 2013 07:38:14 -0400 Subject: [PATCH] Show the user if a contact is sharing with them when viewing their profile page. --- app/views/people/_profile_sidebar.html.haml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/views/people/_profile_sidebar.html.haml b/app/views/people/_profile_sidebar.html.haml index 10bb9764f..0d91324af 100644 --- a/app/views/people/_profile_sidebar.html.haml +++ b/app/views/people/_profile_sidebar.html.haml @@ -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