Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
modals: Switch confirm_reset_stream_notifications_modal to compact mode.
Sayam Samalec2223a08c89
diff --git a/web/src/settings_notifications.ts b/web/src/settings_notifications.tsindex b9ce006244c..d04672c33b0 100644--- a/web/src/settings_notifications.ts+++ b/web/src/settings_notifications.ts@@ -323,6 +323,7 @@ function reset_stream_notifications(elem: HTMLElement): void {confirm_dialog.launch({modal_title_html: $t_html({defaultMessage: "Reset to default notifications?"}),modal_content_html,+ is_compact: true,id: "confirm_reset_stream_notifications_modal",on_click() {do_reset_stream_notifications(elem, sub);diff --git a/web/templates/confirm_dialog/confirm_reset_stream_notifications.hbs b/web/templates/confirm_dialog/confirm_reset_stream_notifications.hbsindex b10c98986e3..bf2e032c196 100644--- a/web/templates/confirm_dialog/confirm_reset_stream_notifications.hbs+++ b/web/templates/confirm_dialog/confirm_reset_stream_notifications.hbs@@ -1,6 +1,4 @@-<p>- {{#tr}}- Are you sure you want to reset notifications for <z-stream></z-stream>?- {{#*inline "z-stream"}}{{> ../inline_decorated_channel_name stream=sub show_colored_icon=false}}{{/inline}}- {{/tr}}-</p>+{{#tr}}+Are you sure you want to reset notifications for <z-stream></z-stream>?+{{#*inline "z-stream"}}{{> ../inline_decorated_channel_name stream=sub show_colored_icon=false}}{{/inline}}+{{/tr}}