]> cat aescling's git repositories - mastodon.git/commitdiff
Fix not showing if emoji has a local counterpart in admin UI (#12135)
authorEugen Rochko <eugen@zeonfederated.com>
Thu, 10 Oct 2019 00:21:52 +0000 (02:21 +0200)
committerGitHub <noreply@github.com>
Thu, 10 Oct 2019 00:21:52 +0000 (02:21 +0200)
Fix #12132

app/views/admin/custom_emojis/_custom_emoji.html.haml

index 2103b0fa7dd0f4fc280b19123ce359a6324afc79..526c844e925d90e972e0b2b903d83fcd8e635740 100644 (file)
       - else
         = custom_emoji.domain
 
+        - if custom_emoji.local_counterpart.present?
+          &bull;
+          = t('admin.accounts.location.local')
+
       %br/
 
       - if custom_emoji.disabled?