don't display public posting option if not posting to all aspects

This commit is contained in:
danielgrippi 2011-07-07 15:50:33 -07:00
parent 968100860a
commit 029e9c55c2

View file

@ -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