forked from asonix/mastodon
- Allow batch actions on unreviewed tags - Hide checkboxes when batch actions aren't available
21 lines
722 B
Text
21 lines
722 B
Text
.batch-table__row
|
|
- if batch_available
|
|
%label.batch-table__row__select.batch-table__row__select--aligned.batch-checkbox
|
|
= f.check_box :tag_ids, { multiple: true, include_hidden: false }, tag.id
|
|
|
|
.directory__tag
|
|
= link_to admin_tag_path(tag.id) do
|
|
%h4
|
|
= fa_icon 'hashtag'
|
|
= tag.name
|
|
|
|
%small
|
|
= t('admin.tags.in_directory', count: tag.accounts_count)
|
|
•
|
|
= t('admin.tags.unique_uses_today', count: tag.history.first[:accounts])
|
|
|
|
- if tag.trending?
|
|
= fa_icon 'fire fw'
|
|
= t('admin.tags.trending_right_now')
|
|
|
|
.trends__item__current= number_to_human tag.history.first[:uses], strip_insignificant_zeros: true
|