Merge pull request #669 from mblog/no-public-profile-edit-button

Don't need edit button on public profiles
This commit is contained in:
Raphael Sofaer 2011-07-02 09:38:15 -07:00
commit 757b87e994

View file

@ -28,7 +28,7 @@
.right
- if user_signed_in? && current_user.person != @person
= render 'aspect_memberships/aspect_dropdown', :contact => @contact, :person => @person, :hang => 'left'
- else
- elsif user_signed_in? && current_user.person == @person
= link_to t('people.profile_sidebar.edit_my_profile'), edit_profile_path, :class => 'button creation'
%h2