Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
settings: Hide "Add a new emoji" button for unauthorized users.
Akarsh Jainb063779800f4
diff --git a/web/templates/settings/emoji_settings_admin.hbs b/web/templates/settings/emoji_settings_admin.hbsindex bf77e466487..0bc407bb2e6 100644--- a/web/templates/settings/emoji_settings_admin.hbs+++ b/web/templates/settings/emoji_settings_admin.hbs@@ -5,7 +5,7 @@<p class="add-emoji-text {{#unless can_add_emojis}}hide{{/unless}}">{{t "Add extra emoji for members of the {realm_name} organization." }}</p>- <button id="add-custom-emoji-button" class="button rounded sea-green">+ <button id="add-custom-emoji-button" class="button rounded sea-green {{#unless can_add_emojis}}hide{{/unless}}">{{t 'Add a new emoji' }}</button>