diff --git a/app/views/people/_profile_sidebar.haml b/app/views/people/_profile_sidebar.haml index b2897e763edcbcda425860552a9b04788d4c16f1..13ff352885e716edf1a8a35e2f47b4a1a1b9bcfd 100644 --- a/app/views/people/_profile_sidebar.haml +++ b/app/views/people/_profile_sidebar.haml @@ -21,24 +21,19 @@ - for aspect in @aspects_with_person %li= link_to aspect.name, aspect - - %ul#profile_information - %li - %b bio - %br - = person.profile.bio - %li - %b gender - %br - = person.profile.gender - %li - %b born - %br - = "#{time_ago_in_words(person.profile.birthday)} ago" if @person.profile.birthday - - - if is_contact - /%li - /%i= t(".friends_since",:how_long_ago => how_long_ago(person)) + -if is_contact || person == current_user.person + %ul#profile_information + %li + %b bio + %br + = person.profile.bio + %li + %b gender + %br + = person.profile.gender + %li + %b born + %br + = "#{time_ago_in_words(person.profile.birthday)} ago" if @person.profile.birthday %b.small= person.diaspora_handle -