Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
icon: Replace trash icon with archive icon.
sanchi-tc73985da1723
diff --git a/help/archive-a-channel.md b/help/archive-a-channel.mdindex e4b52eed5e5..379dc138255 100644--- a/help/archive-a-channel.md+++ b/help/archive-a-channel.md@@ -23,7 +23,7 @@ archiving them where appropriate.1. Select a channel.-1. Click the **trash** <i class="fa fa-trash-o"></i> icon near the top right+1. Click the **archive** <i class="zulip-icon zulip-icon-archive"></i> icon near the top rightcorner of the channel settings panel.1. Approve by clicking **Confirm**.@@ -32,8 +32,8 @@ archiving them where appropriate.You can also hover over a channel in the left sidebar, click on the**ellipsis** (<i class="zulip-icon zulip-icon-more-vertical"></i>), and- select **Channel settings** to access the **trash**- <i class="fa fa-trash-o"></i> icon.+ select **Channel settings** to access the **archive**+ <i class="zulip-icon zulip-icon-archive"></i> icon.{end_tabs}diff --git a/web/shared/icons/archive.svg b/web/shared/icons/archive.svgnew file mode 100644index 00000000000..1d77140f04f--- /dev/null+++ b/web/shared/icons/archive.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">+ <path fill="#000" d="M1.998 2.666v2.001L2 4.669h12.001V2.664H1.998v.001Zm12 3.332v6.669A1.998 1.998 0 0 1 12 14.665H4a1.998 1.998 0 0 1-1.998-1.998V5.998H2A1.332 1.332 0 0 1 .668 4.667v-2c0-.736.597-1.332 1.332-1.332h12c.736 0 1.332.596 1.332 1.332v2c0 .735-.597 1.331-1.332 1.331h-.002Zm-1.33 0H3.332v6.669a.668.668 0 0 0 .668.668h8a.668.668 0 0 0 .668-.668V5.998ZM6.002 8c0-.367.297-.665.665-.665h2.666a.665.665 0 1 1 0 1.33H6.667A.665.665 0 0 1 6.002 8Z"/>+</svg>+diff --git a/web/styles/subscriptions.css b/web/styles/subscriptions.cssindex 44f83bcf901..0757a6f5a72 100644--- a/web/styles/subscriptions.css+++ b/web/styles/subscriptions.css@@ -863,6 +863,14 @@ h4.user_group_setting_subsection_title {margin-right: 3px;text-decoration: none;}++ .deactivate {+ height: 100%;++ .icon-container {+ display: flex;+ }+ }}}diff --git a/web/templates/stream_settings/stream_settings.hbs b/web/templates/stream_settings/stream_settings.hbsindex f600b984f5d..8953be1f37c 100644--- a/web/templates/stream_settings/stream_settings.hbs+++ b/web/templates/stream_settings/stream_settings.hbs@@ -21,7 +21,11 @@</div><a href="{{preview_url}}" class="button small rounded tippy-zulip-delayed-tooltip" id="preview-stream-button" role="button" data-tooltip-template-id="view-stream-tooltip-template" data-tippy-placement="bottom" {{#unless should_display_preview_button }}style="display: none"{{/unless}}><i class="fa fa-eye"></i></a>{{#if is_realm_admin}}- <button class="button small rounded btn-danger deactivate tippy-zulip-delayed-tooltip" type="button" name="delete_button" data-tippy-content="{{t 'Archive channel'}}"> <i class="fa fa-trash-o" aria-hidden="true"></i></button>+ <button class="button small rounded btn-danger deactivate tippy-zulip-delayed-tooltip" type="button" name="delete_button" data-tippy-content="{{t 'Archive channel'}}">+ <span class="icon-container">+ <i class="zulip-icon zulip-icon-archive" aria-hidden="true"></i>+ </span>+ </button>{{/if}}</div>{{/with}}