Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
stream: Modify warning shown when archiving announcement stream.
Sahil Batraaa02eb1eba09
diff --git a/web/styles/modal.css b/web/styles/modal.cssindex 9a75fe47e8d..44f2bf20049 100644--- a/web/styles/modal.css+++ b/web/styles/modal.css@@ -219,10 +219,6 @@margin-bottom: 10px;}-#archive-stream-modal .notification_stream_archive_warning {- margin-bottom: 0;-}-#read_receipts_modal {.modal__container {width: 25.7142em; /* 360px at 14px em */diff --git a/web/templates/confirm_dialog/confirm_deactivate_stream.hbs b/web/templates/confirm_dialog/confirm_deactivate_stream.hbsindex 341e8cc7a04..1e8d9a967e6 100644--- a/web/templates/confirm_dialog/confirm_deactivate_stream.hbs+++ b/web/templates/confirm_dialog/confirm_deactivate_stream.hbs@@ -6,23 +6,23 @@<li>{{#tr}}Remove it from the left sidebar for all users.{{/tr}}</li><li>{{#tr}}Prevent new messages from being sent to this channel.{{/tr}}</li><li>{{#tr}}Prevent messages in this channel from being edited, deleted, or moved.{{/tr}}</li>+ {{#if is_announcement_stream}}+ <li>{{#tr}}Disable announcements that are currently sent to this channel:{{/tr}}</li>+ <ul>+ {{#if is_new_stream_announcements_stream}}+ <li>{{#tr}}New channel announcements{{/tr}}</li>+ {{/if}}+ {{#if is_signup_announcements_stream}}+ <li>{{#tr}}New user announcements{{/tr}}</li>+ {{/if}}+ {{#if is_zulip_update_announcements_stream}}+ <li>{{#tr}}Zulip update announcements{{/tr}}</li>+ {{/if}}+ </ul>+ {{/if}}</ul>{{#tr}}Users can still search for messages in archived channels.<br/>This action cannot be undone.{{/tr}}</p>-{{#if is_announcement_stream}}-<p class="notification_stream_archive_warning">{{#tr}}Archiving this channel will also disable settings that were configured to use this channel:{{/tr}}</p>-<ul>- {{#if is_new_stream_announcements_stream}}- <li>{{#tr}}New channel notifications{{/tr}}</li>- {{/if}}- {{#if is_signup_announcements_stream}}- <li>{{#tr}}New user notifications{{/tr}}</li>- {{/if}}- {{#if is_zulip_update_announcements_stream}}- <li>{{#tr}}Zulip update announcements{{/tr}}</li>- {{/if}}-</ul>-{{/if}}