From 1aa8b6e9f2f6d9378e4c7ca79b088f36e312b1b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonne=20Ha=C3=9F?= Date: Thu, 31 Jan 2013 19:24:43 +0100 Subject: [PATCH] do not display the publisher on the profile photos page --- app/views/people/_sub_header.html.haml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/people/_sub_header.html.haml b/app/views/people/_sub_header.html.haml index 750a3263d..d72e5a92f 100644 --- a/app/views/people/_sub_header.html.haml +++ b/app/views/people/_sub_header.html.haml @@ -29,7 +29,7 @@ = t('.you_have_no_tags') %span.add_tags = link_to t('.add_some'), edit_profile_path - %hr - - if user_signed_in? && person == current_user.person - = render 'aspects/aspect_stream', :stream => @stream + - if user_signed_in? && person == current_user.person && current_page?(controller: :people, action: :show) + %hr + = render 'aspects/aspect_stream', :stream => @stream %hr