{{t "Notification triggers" }}

{{> settings_save_discard_widget section_name="general-notify-settings" show_only_indicator=(not for_realm_settings) }}

{{t "Configure how Zulip notifies you about new messages. In muted channels, channel notification settings apply only to unmuted topics." }}

{{#each general_settings}} {{#each this.notification_settings}} {{> notification_settings_checkboxes setting_name=this.setting_name is_checked=this.is_checked is_disabled=this.is_disabled is_mobile_checkbox=this.is_mobile_checkbox prefix=../../prefix }} {{/each}} {{/each}} {{#unless for_realm_settings}} {{/unless}}
{{t "Desktop"}} {{t "Mobile"}} {{> ../help_link_widget link="/help/mobile-notifications#enabling-push-notifications-for-self-hosted-servers" }} {{t "Email"}} @all
{{t "Visual"}} {{t "Audible"}}
{{ this.label }}

{{t "Topic notifications" }} {{> ../help_link_widget link="/help/topic-notifications" }}

{{> settings_save_discard_widget section_name="topic-notifications-settings" show_only_indicator=(not for_realm_settings) }}

{{#tr}} You will automatically follow topics that you have configured to both follow and unmute. {{#*inline "z-follow"}}{{> @partial-block}}{{/inline}} {{#*inline "z-unmute"}}{{> @partial-block}}{{/inline}} {{/tr}}

{{> settings_checkbox setting_name="automatically_follow_topics_where_mentioned" is_checked=(lookup settings_object "automatically_follow_topics_where_mentioned") label=(lookup settings_label "automatically_follow_topics_where_mentioned") prefix=prefix}}

{{t "Desktop message notifications" }} {{> ../help_link_widget link="/help/desktop-notifications" }}

{{> settings_save_discard_widget section_name="desktop-message-settings" show_only_indicator=(not for_realm_settings) }}
{{#unless for_realm_settings}}

{{t "Send a test notification" }}

{{/unless}} {{#each notification_settings.desktop_notification_settings}} {{> settings_checkbox setting_name=this is_checked=(lookup ../settings_object this) label=(lookup ../settings_label this) prefix=../prefix}} {{/each}}

{{t "Mobile message notifications" }} {{> ../help_link_widget link="/help/mobile-notifications" }}

{{> settings_save_discard_widget section_name="mobile-message-settings" show_only_indicator=(not for_realm_settings) }}
{{#unless realm_push_notifications_enabled}}
{{#tr}} Mobile push notifications are not enabled on this server. Learn more {{#*inline "z-link"}}{{> @partial-block}}{{/inline}} {{/tr}}
{{/unless}} {{#each notification_settings.mobile_notification_settings}} {{> settings_checkbox setting_name=this is_checked=(lookup ../settings_object this) is_disabled=(lookup ../show_push_notifications_tooltip this) label=(lookup ../settings_label this) prefix=../prefix}} {{/each}}

{{t "Email message notifications" }} {{> ../help_link_widget link="/help/email-notifications" }}

{{> settings_save_discard_widget section_name="email-message-settings" show_only_indicator=(not for_realm_settings) }}
{{#each notification_settings.email_message_notification_settings}} {{> settings_checkbox setting_name=this is_checked=(lookup ../settings_object this) label=(lookup ../settings_label this) prefix=../prefix}} {{/each}}

{{t "Other emails" }}

{{> settings_save_discard_widget section_name="other-emails-settings" show_only_indicator=(not for_realm_settings) }}
{{#each notification_settings.other_email_settings}} {{> settings_checkbox setting_name=this is_checked=(lookup ../settings_object this) label=(lookup ../settings_label this) prefix=../prefix}} {{/each}}