Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
settings: Do not show tooltip if push notifications are enabled.
Sahil Batra99f29983a188
diff --git a/web/templates/settings/notification_settings_checkboxes.hbs b/web/templates/settings/notification_settings_checkboxes.hbsindex 7327c4f757a..738370cb784 100644--- a/web/templates/settings/notification_settings_checkboxes.hbs+++ b/web/templates/settings/notification_settings_checkboxes.hbs@@ -1,5 +1,5 @@<td>- <span {{#if (and is_mobile_checkbox (not realm_push_notifications_enabled))}} class="tippy-zulip-tooltip" data-tooltip-template-id="mobile-push-notification-tooltip-template"{{/if}}>+ <span {{#if (and is_mobile_checkbox is_disabled)}} class="tippy-zulip-tooltip" data-tooltip-template-id="mobile-push-notification-tooltip-template"{{/if}}><label class="checkbox"><input type="checkbox" name="{{setting_name}}" id="{{prefix}}{{setting_name}}"{{#if is_disabled}} disabled {{/if}}