_tag.html.haml 695 B

1234567891011121314151617181920
  1. .batch-table__row
  2. %label.batch-table__row__select.batch-table__row__select--aligned.batch-checkbox
  3. = f.check_box :tag_ids, { multiple: true, include_hidden: false }, tag.id
  4. .directory__tag
  5. = link_to admin_tag_path(tag.id) do
  6. %h4
  7. = fa_icon 'hashtag'
  8. = tag.name
  9. %small
  10. = t('admin.tags.in_directory', count: tag.accounts_count)
  11. •
  12. = t('admin.tags.unique_uses_today', count: tag.history.first[:accounts])
  13. - if tag.trending?
  14. = fa_icon 'fire fw'
  15. = t('admin.tags.trending_right_now')
  16. .trends__item__current= number_to_human tag.history.first[:uses], strip_insignificant_zeros: true