{{t "Notification triggers" }}

{{#if for_realm_settings}} {{> ../components/icon_button icon="reset" intent="neutral" custom_classes="reset-user-setting-to-default" data-tippy-content=(t "Reset users to default") aria-label=(t "Reset users to default") }} {{/if}} {{> settings_save_discard_widget section_name="general-notify-settings" show_save_discard_buttons=for_realm_settings }}

{{t "Configure how Zulip notifies you about new messages." }}

{{#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 push_notifications_disabled=this.push_notifications_disabled prefix=../../prefix }} {{/each}} {{/each}} {{#unless for_realm_settings}} {{#each custom_stream_specific_notification_settings}} {{> notification_settings_checkboxes setting_name=this.setting_name is_checked=this.is_checked is_mobile_checkbox=this.is_mobile_checkbox is_disabled=this.is_disabled push_notifications_disabled=this.push_notifications_disabled prefix="customize_stream_" }} {{/each}} {{/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 }} {{#if this.help_link}} {{> ../help_link_widget link=this.help_link }} {{/if}}
{{> ../dropdown_widget widget_name="customize_stream_notifications" custom_classes="decorated-stream-name-dropdown-widget"}}

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

{{> settings_save_discard_widget section_name="topic-notifications-settings" show_save_discard_buttons=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 show_reset_button=for_realm_settings}}

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

{{> settings_save_discard_widget section_name="desktop-message-settings" show_save_discard_buttons=for_realm_settings }}
{{#if (eq prefix "user_")}} {{/if}} {{#unless for_realm_settings}} {{> ../components/action_button label=(t "Send a test notification") variant="subtle" intent="neutral" custom_classes="send_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 show_reset_button=../for_realm_settings}} {{/each}}

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

{{> settings_save_discard_widget section_name="mobile-message-settings" show_save_discard_buttons=for_realm_settings }}
{{#unless realm_push_notifications_enabled}} {{/unless}} {{#each notification_settings.mobile_notification_settings}} {{> settings_checkbox setting_name=this is_checked=(lookup ../settings_object this) is_disabled=(lookup ../disabled_notification_settings this) label=(lookup ../settings_label this) prefix=../prefix show_reset_button=../for_realm_settings}} {{/each}}

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

{{> settings_save_discard_widget section_name="email-message-settings" show_save_discard_buttons=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) is_disabled=(lookup ../disabled_notification_settings this) prefix=../prefix show_reset_button=../for_realm_settings}} {{/each}}

{{t "Other emails" }}

{{> settings_save_discard_widget section_name="other-emails-settings" show_save_discard_buttons=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 show_reset_button=../for_realm_settings}} {{/each}}