Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
modals: Switch confirm_mute_user modal to compact mode.
Sayam Samal0f10f2dbb64a
diff --git a/web/src/user_card_popover.ts b/web/src/user_card_popover.tsindex 5a007431176..d2c21f1d49f 100644--- a/web/src/user_card_popover.ts+++ b/web/src/user_card_popover.ts@@ -65,6 +65,7 @@ export function confirm_mute_user(user_id: number): void {modal_title_html: $t_html({defaultMessage: "Mute user"}),help_link: "/help/mute-a-user",modal_content_html,+ is_compact: true,on_click,});}diff --git a/web/templates/confirm_dialog/confirm_mute_user.hbs b/web/templates/confirm_dialog/confirm_mute_user.hbsindex 1cb5b2ea131..5e831241ec0 100644--- a/web/templates/confirm_dialog/confirm_mute_user.hbs+++ b/web/templates/confirm_dialog/confirm_mute_user.hbs@@ -1,6 +1,4 @@-<p>- {{#tr}}- Are you sure you want to mute <z-highlight>{user_name}</z-highlight>? Messages sent by muted users will never trigger notifications, will be marked as read, and will be hidden.- {{#*inline "z-highlight"}}<b class="highlighted-element">{{> @partial-block}}</b>{{/inline}}- {{/tr}}-</p>+{{#tr}}+Are you sure you want to mute <z-highlight>{user_name}</z-highlight>? Messages sent by muted users will never trigger notifications, will be marked as read, and will be hidden.+{{#*inline "z-highlight"}}<b class="highlighted-element">{{> @partial-block}}</b>{{/inline}}+{{/tr}}