Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

modals: Switch confirm_archive_channel_folder modal to compact mode.

Sayam Samal9b6b40dc7082
diff --git a/web/src/channel_folders_ui.ts b/web/src/channel_folders_ui.ts
index d6531e20236..e53e7646e9f 100644
--- a/web/src/channel_folders_ui.ts
+++ b/web/src/channel_folders_ui.ts
@@ -184,6 +184,7 @@ export function handle_archiving_channel_folder(folder_id: number): void {
confirm_dialog.launch({
modal_title_html: $t_html({defaultMessage: "Delete channel folder?"}),
modal_content_html: render_confirm_archive_channel_folder(),
+ is_compact: true,
on_click() {
archive_folder(folder_id);
},
diff --git a/web/templates/confirm_dialog/confirm_archive_channel_folder.hbs b/web/templates/confirm_dialog/confirm_archive_channel_folder.hbs
index 222f440385d..d1d2f192e1b 100644
--- a/web/templates/confirm_dialog/confirm_archive_channel_folder.hbs
+++ b/web/templates/confirm_dialog/confirm_archive_channel_folder.hbs
@@ -1,2 +1 @@
-<p>{{t "Channels in this folder will become uncategorized."}}</p>
-<p>{{t "This action cannot be undone."}}</p>
+{{t "Channels in this folder will become uncategorized."}} {{t "This action cannot be undone."}}