about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-10-10 02:21:52 +0200
committerGitHub <noreply@github.com>2019-10-10 02:21:52 +0200
commit30a28a2eb7bdd39de877ae8171555307986b3e06 (patch)
treecc9401c55bbb7dd212b231c5eab9fc14d23952f0
parente6d111f38b95b08a2880390b1519655b54ac2fd0 (diff)
Fix not showing if emoji has a local counterpart in admin UI (#12135)
Fix #12132
-rw-r--r--app/views/admin/custom_emojis/_custom_emoji.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/admin/custom_emojis/_custom_emoji.html.haml b/app/views/admin/custom_emojis/_custom_emoji.html.haml
index 2103b0fa7..526c844e9 100644
--- a/app/views/admin/custom_emojis/_custom_emoji.html.haml
+++ b/app/views/admin/custom_emojis/_custom_emoji.html.haml
@@ -17,6 +17,10 @@
       - else
         = custom_emoji.domain
 
+        - if custom_emoji.local_counterpart.present?
+          &bull;
+          = t('admin.accounts.location.local')
+
       %br/
 
       - if custom_emoji.disabled?