mirror of https://github.com/zulip/zulip.git
32 lines
2.5 KiB
Handlebars
32 lines
2.5 KiB
Handlebars
<div class="popover-menu visibility-policy-popover" data-simplebar>
|
|
<ul role="menu" class="popover-menu-list">
|
|
<li role="none" class="popover-menu-list-item">
|
|
<div role="group" class="recipient-bar-topic-visibility-switcher tab-picker tab-picker-vertical" aria-label="{{t 'Topic visibility' }}">
|
|
<input type="radio" id="select-muted-policy" class="tab-option" name="visibility-policy-select" data-visibility-policy="{{all_visibility_policies.MUTED}}" {{#if (eq visibility_policy all_visibility_policies.MUTED)}}checked{{/if}} />
|
|
<label role="menuitemradio" class="tab-option-content" for="select-muted-policy" tabindex="0">
|
|
<i class="zulip-icon zulip-icon-mute-new" aria-hidden="true"></i>
|
|
{{t "Mute"}}
|
|
</label>
|
|
<input type="radio" id="select-inherit-policy" class="tab-option" name="visibility-policy-select" data-visibility-policy="{{all_visibility_policies.INHERIT}}" {{#if (eq visibility_policy all_visibility_policies.INHERIT)}}checked{{/if}} />
|
|
<label role="menuitemradio" class="tab-option-content" for="select-inherit-policy" tabindex="0">
|
|
<i class="zulip-icon zulip-icon-inherit" aria-hidden="true"></i>
|
|
{{t "Default"}}
|
|
</label>
|
|
{{#if (or stream_muted topic_unmuted)}}
|
|
<input type="radio" id="select-unmuted-policy" class="tab-option" name="visibility-policy-select" data-visibility-policy="{{all_visibility_policies.UNMUTED}}" {{#if (eq visibility_policy all_visibility_policies.UNMUTED)}}checked{{/if}} />
|
|
<label role="menuitemradio" class="tab-option-content" for="select-unmuted-policy" tabindex="0">
|
|
<i class="zulip-icon zulip-icon-unmute-new" aria-hidden="true"></i>
|
|
{{t "Unmute"}}
|
|
</label>
|
|
{{/if}}
|
|
<input type="radio" id="select-followed-policy" class="tab-option" name="visibility-policy-select" data-visibility-policy="{{all_visibility_policies.FOLLOWED}}" {{#if (eq visibility_policy all_visibility_policies.FOLLOWED)}}checked{{/if}} />
|
|
<label role="menuitemradio" class="tab-option-content" for="select-followed-policy" tabindex="0">
|
|
<i class="zulip-icon zulip-icon-follow" aria-hidden="true"></i>
|
|
{{t "Follow"}}
|
|
</label>
|
|
<span class="slider"></span>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|