mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
giphy: Add a '?' icon besides the "GIPHY integration" label.
We add a '?' icon besides the "GIPHY integration" label of giphy settings dropdown. The icon links to readthedocs page for setting up giphy API key when api key is not set, and it points to help center article of GIFs when the api key is added.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user