2019-09-09 19:50:09 +09:00
|
|
|
.batch-table__row
|
2019-12-29 13:41:26 +09:00
|
|
|
- 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
|
2019-08-06 02:54:29 +09:00
|
|
|
|
2019-09-09 19:50:09 +09:00
|
|
|
.directory__tag
|
|
|
|
= link_to admin_tag_path(tag.id) do
|
|
|
|
%h4
|
|
|
|
= fa_icon 'hashtag'
|
|
|
|
= tag.name
|
2019-08-06 02:54:29 +09:00
|
|
|
|
2019-09-09 19:50:09 +09:00
|
|
|
%small
|
|
|
|
= t('admin.tags.in_directory', count: tag.accounts_count)
|
|
|
|
•
|
|
|
|
= t('admin.tags.unique_uses_today', count: tag.history.first[:accounts])
|
2019-08-06 02:54:29 +09:00
|
|
|
|
2019-09-09 19:50:09 +09:00
|
|
|
- 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
|