From 64898c522e91740bb110a868cfaf5a6aaa588275 Mon Sep 17 00:00:00 2001 From: mb-log Date: Sat, 2 Jul 2011 16:56:09 +0200 Subject: [PATCH] Don't need edit button on public profiles --- app/views/people/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/people/show.html.haml b/app/views/people/show.html.haml index 03be560af..f163c814d 100644 --- a/app/views/people/show.html.haml +++ b/app/views/people/show.html.haml @@ -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