From 31cc47cbd756a0e92f0f593f34f461abcb4b947b Mon Sep 17 00:00:00 2001 From: Sayam Samal Date: Thu, 23 Nov 2023 03:44:29 +0530 Subject: [PATCH] settings: Migrate mobile notification tooltips to a common template. --- web/templates/settings/notification_settings.hbs | 2 +- web/templates/stream_settings/stream_settings_checkbox.hbs | 2 +- web/templates/tooltip_templates.hbs | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/web/templates/settings/notification_settings.hbs b/web/templates/settings/notification_settings.hbs index 63ffdd2353..55d1d1373e 100644 --- a/web/templates/settings/notification_settings.hbs +++ b/web/templates/settings/notification_settings.hbs @@ -13,7 +13,7 @@ {{t "Mobile"}} {{#if (not realm_push_notifications_enabled) }} - + {{/if}} {{t "Email"}} diff --git a/web/templates/stream_settings/stream_settings_checkbox.hbs b/web/templates/stream_settings/stream_settings_checkbox.hbs index ab203f8677..9c878ee2a7 100644 --- a/web/templates/stream_settings/stream_settings_checkbox.hbs +++ b/web/templates/stream_settings/stream_settings_checkbox.hbs @@ -20,7 +20,7 @@ {{!-- Tooltips for settings --}} {{#if (eq setting_name "push_notifications")}} + data-tooltip-template-id="mobile-push-notification-tooltip-template"> {{/if}} diff --git a/web/templates/tooltip_templates.hbs b/web/templates/tooltip_templates.hbs index afa8d28445..7645a04219 100644 --- a/web/templates/tooltip_templates.hbs +++ b/web/templates/tooltip_templates.hbs @@ -204,3 +204,6 @@ {{t 'View stream' }} {{tooltip_hotkey_hints "Shift" "V"}} +