Merge pull request #669 from mblog/no-public-profile-edit-button
Don't need edit button on public profiles
This commit is contained in:
commit
757b87e994
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@
|
||||||
.right
|
.right
|
||||||
- if user_signed_in? && current_user.person != @person
|
- if user_signed_in? && current_user.person != @person
|
||||||
= render 'aspect_memberships/aspect_dropdown', :contact => @contact, :person => @person, :hang => 'left'
|
= 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'
|
= link_to t('people.profile_sidebar.edit_my_profile'), edit_profile_path, :class => 'button creation'
|
||||||
|
|
||||||
%h2
|
%h2
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue