2019-09-09 21:44:17 +01:00
|
|
|
.batch-table__row
|
|
|
|
%label.batch-table__row__select.batch-table__row__select--aligned.batch-checkbox
|
|
|
|
= f.check_box :custom_emoji_ids, { multiple: true, include_hidden: false }, custom_emoji.id
|
|
|
|
.batch-table__row__content.batch-table__row__content--with-image
|
|
|
|
.batch-table__row__content__image
|
2022-06-09 21:25:23 +01:00
|
|
|
= custom_emoji_tag(custom_emoji)
|
2019-09-09 21:44:17 +01:00
|
|
|
|
|
|
|
.batch-table__row__content__text
|
|
|
|
%samp= ":#{custom_emoji.shortcode}:"
|
|
|
|
|
|
|
|
- if custom_emoji.local?
|
2023-07-27 15:05:24 +01:00
|
|
|
%span.information-badge= custom_emoji.category&.name || t('admin.custom_emojis.uncategorized')
|
2019-09-09 21:44:17 +01:00
|
|
|
|
|
|
|
.batch-table__row__content__extra
|
|
|
|
- if custom_emoji.local?
|
|
|
|
= t('admin.accounts.location.local')
|
2017-10-27 15:11:30 +01:00
|
|
|
- else
|
2019-09-09 21:44:17 +01:00
|
|
|
= custom_emoji.domain
|
|
|
|
|
2019-10-10 01:21:52 +01:00
|
|
|
- if custom_emoji.local_counterpart.present?
|
|
|
|
•
|
|
|
|
= t('admin.accounts.location.local')
|
|
|
|
|
2019-09-09 21:44:17 +01:00
|
|
|
%br/
|
|
|
|
|
|
|
|
- if custom_emoji.disabled?
|
|
|
|
= t('admin.custom_emojis.disabled')
|
2017-11-07 13:49:32 +00:00
|
|
|
- else
|
2019-09-09 21:44:17 +01:00
|
|
|
= t('admin.custom_emojis.enabled')
|
|
|
|
- if custom_emoji.local?
|
|
|
|
•
|
|
|
|
- if custom_emoji.visible_in_picker?
|
|
|
|
= t('admin.custom_emojis.listed')
|
|
|
|
- else
|
|
|
|
= t('admin.custom_emojis.unlisted')
|