_followed_tags_listings.haml 969 Bytes
Newer Older
danielgrippi's avatar
danielgrippi committed
1
-#   Copyright (c) 2010-2011, Diaspora Inc.  This file is
2 3 4
-#   licensed under the Affero General Public License version 3 or later.  See
-#   the COPYRIGHT file.

5 6 7
- if user_signed_in?
  %ul.left_nav
    %li
8
      %b=link_to t('streams.followed_tag.title'), tag_followings_path, :class => 'home_selector'
9 10
  
      %ul.sub_nav
11 12
        - if tags.size > 0
          - for tg in tags
13 14 15 16 17 18 19
            %li.unfollow{:id => tg.name}
              .unfollow_icon.hidden
                = link_to image_tag("icons/monotone_close_exit_delete.png", :height => 16, :title => t('aspects.index.unfollow_tag', :tag => tg.name)), tag_tag_followings_path(:name => tg.name, :remote => true), :confirm => t('are_you_sure'), :method => :delete, :remote => true, :id => "unfollow_" + tg.name
              =link_to "##{tg.name}", tag_path(:name => tg.name), :class => "tag_selector"
        - else
          %li
            = link_to t('aspects.index.no_tags'), tags_path, :class => "new_aspect"