From 57a2a8fa71b23a4314429a2c0932d4ddb99eca0d Mon Sep 17 00:00:00 2001 From: danielgrippi Date: Tue, 17 May 2011 12:14:05 -0700 Subject: [PATCH] remove button to add yourself to an asepct on your profile page: --- app/views/people/_profile_sidebar.html.haml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/views/people/_profile_sidebar.html.haml b/app/views/people/_profile_sidebar.html.haml index 3b97e232e..c5ef2041e 100644 --- a/app/views/people/_profile_sidebar.html.haml +++ b/app/views/people/_profile_sidebar.html.haml @@ -23,10 +23,11 @@ %p = link_to t('people.profile_sidebar.edit_my_profile'), edit_profile_path - %hr{:style=>"width:300px;"} - %br - = render 'contacts/aspect_dropdown', :contact => @contact, :person => @person, :hang => 'left' + - if person != current_user.person + %hr{:style=>"width:300px;"} + %br + = render 'contacts/aspect_dropdown', :contact => @contact, :person => @person, :hang => 'left' -if contact.sharing? || person == current_user.person %br