icons: Add new unmute icon SVG.

Added unmute.svg in web/shared/icons. Also added
source and license information for the icon in
docs/THIRDPARTY.

Additionally, used unmute icon for unmute option in
topic_sidebar menu for topics in muted stream.

Fixes #25124
This commit is contained in:
Hardik Dharmani 2023-04-16 00:31:57 +05:30 committed by Tim Abbott
parent 99f8c19d6d
commit 06709bc5da
3 changed files with 8 additions and 2 deletions

View File

@ -132,6 +132,12 @@ Copyright: Google, Inc.
License: Apache-2.0
Comment: Material volume icon (rounded) with custom cross symbol
Files: web/shared/icons/unmute.svg
Source: https://fonts.google.com/icons?selected=Material+Symbols+Rounded:volume_up
Copyright: Google, Inc.
License: Apache-2.0
Comment: Material volume up icon (rounded)
Files: web/shared/icons/smart-toy.svg
Source: https://fonts.google.com/icons?selected=Material+Symbols+Rounded:smart_toy
Copyright: Google, Inc.

BIN
web/shared/icons/unmute.svg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 914 B

View File

@ -13,14 +13,14 @@
{{#unless topic_unmuted}}
<li class="hidden-for-spectators">
<a tabindex="0" class="sidebar-popover-unmute-topic" data-stream-id="{{ stream_id }}" data-topic-name="{{ topic_name }}">
<i class="zulip-icon zulip-icon-mute" aria-hidden="true"></i>
<i class="zulip-icon zulip-icon-unmute" aria-hidden="true"></i>
{{t "Unmute topic (muted stream)"}}
</a>
</li>
{{else}}
<li class="hidden-for-spectators">
<a tabindex="0" class="sidebar-popover-remove-unmute" data-stream-id="{{ stream_id }}" data-topic-name="{{ topic_name }}">
<i class="zulip-icon zulip-icon-mute" aria-hidden="true"></i>
<i class="zulip-icon zulip-icon-unmute" aria-hidden="true"></i>
{{t "Mute topic (muted stream)"}}
</a>
</li>