From 029e9c55c2ad34051e592351b3bed7f12c60c877 Mon Sep 17 00:00:00 2001 From: danielgrippi Date: Thu, 7 Jul 2011 15:50:33 -0700 Subject: [PATCH] don't display public posting option if not posting to all aspects --- app/views/shared/_publisher.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/shared/_publisher.html.haml b/app/views/shared/_publisher.html.haml index 22003d141..75346a456 100644 --- a/app/views/shared/_publisher.html.haml +++ b/app/views/shared/_publisher.html.haml @@ -40,8 +40,8 @@ .public_toggle %span#publisher_service_icons = t("shared.publisher.click_to_share_with") - - if aspect == :all || :profile - = status.hidden_field( :public) + - if aspect == :all || aspect == :profile + = status.hidden_field(:public) = image_tag "icons/globe.png", :title => t('.public'), :class => 'public_icon dim', :width => 16, :height => 16 - if current_user.services - for service in current_user.services