You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1.1 KiB

  1. .batch-table__row
  2. %label.batch-table__row__select.batch-table__row__select--aligned.batch-checkbox
  3. = f.check_box :custom_emoji_ids, { multiple: true, include_hidden: false }, custom_emoji.id
  4. .batch-table__row__content.batch-table__row__content--with-image
  5. .batch-table__row__content__image
  6. = custom_emoji_tag(custom_emoji, animate = current_account&.user&.setting_auto_play_gif)
  7. .batch-table__row__content__text
  8. %samp= ":#{custom_emoji.shortcode}:"
  9. - if custom_emoji.local?
  10. %span.account-role.bot= custom_emoji.category&.name || t('admin.custom_emojis.uncategorized')
  11. .batch-table__row__content__extra
  12. - if custom_emoji.local?
  13. = t('admin.accounts.location.local')
  14. - else
  15. = custom_emoji.domain
  16. %br/
  17. - if custom_emoji.disabled?
  18. = t('admin.custom_emojis.disabled')
  19. - else
  20. = t('admin.custom_emojis.enabled')
  21. - if custom_emoji.local?
  22. •
  23. - if custom_emoji.visible_in_picker?
  24. = t('admin.custom_emojis.listed')
  25. - else
  26. = t('admin.custom_emojis.unlisted')