Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
giphy: Add a '?' icon besides the "GIPHY integration" label.
sahil839bd957bb5a2ce
diff --git a/static/js/admin.js b/static/js/admin.jsindex a8cd16e4005..05c8010c4c9 100644--- a/static/js/admin.js+++ b/static/js/admin.js@@ -135,6 +135,12 @@ export function build_page() {options.realm_night_logo_url = options.realm_logo_url;}+ options.giphy_help_link = "/help/animated-gifs-from-giphy";+ if (options.giphy_api_key_empty) {+ options.giphy_help_link =+ "https://zulip.readthedocs.io/en/latest/production/giphy-gif-integration.html";+ }+const rendered_admin_tab = render_admin_tab(options);$("#settings_content .organization-box").html(rendered_admin_tab);$("#settings_content .alert").removeClass("show");diff --git a/static/templates/settings/organization_settings_admin.hbs b/static/templates/settings/organization_settings_admin.hbsindex 81238712a21..b0ae6a6f92e 100644--- a/static/templates/settings/organization_settings_admin.hbs+++ b/static/templates/settings/organization_settings_admin.hbs@@ -197,6 +197,7 @@<div class="input-group"><label for="realm_giphy_rating" class="dropdown-title">{{t 'GIPHY integration' }}+ {{> ../help_link_widget link=giphy_help_link }}</label><select name="realm_giphy_rating" class ="setting-widget prop-element" id="id_realm_giphy_rating" data-setting-widget-type="number" {{#if giphy_api_key_empty}}disabled{{/if}}>{{#each giphy_rating_options}}