Add role badges to the WebUI (#25649)

This commit is contained in:
Claire 2023-07-27 16:05:24 +02:00 committed by GitHub
parent ddaf200c78
commit 1e4ccc655a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 65 additions and 25 deletions

View file

@ -9,7 +9,7 @@
%samp= ":#{custom_emoji.shortcode}:"
- if custom_emoji.local?
%span.account-role.bot= custom_emoji.category&.name || t('admin.custom_emojis.uncategorized')
%span.information-badge= custom_emoji.category&.name || t('admin.custom_emojis.uncategorized')
.batch-table__row__content__extra
- if custom_emoji.local?