about summary refs log tree commit diff
path: root/app/views/admin/tags/_tag.html.haml
blob: 961b83f93c23c1b4f1d235e390d50eb284db3c44 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
%tr
  %td
    = link_to explore_hashtag_path(tag) do
      = fa_icon 'hashtag'
      = tag.name
  %td
    = t('directories.people', count: tag.accounts_count)
  %td
    - if tag.hidden?
      = table_link_to 'eye', t('admin.tags.unhide'), unhide_admin_tag_path(tag.id, **@filter_params), method: :post
    - else
      = table_link_to 'eye-slash', t('admin.tags.hide'), hide_admin_tag_path(tag.id, **@filter_params), method: :post