zulip/static/templates/settings/stream_specific_notificatio...

22 lines
893 B
Handlebars
Raw Normal View History

<tr class="stream-row {{#if muted}}control-label-disabled{{/if}}" data-stream-id="{{stream.stream_id}}">
<td>
<span id="stream_privacy_swatch_{{stream.stream_id}}" class="stream-privacy filter-icon">
{{> ../stream_privacy
invite_only=stream.invite_only
is_web_public=stream.is_web_public }}
</span>
{{stream.stream_name}}
<i class="zulip-icon zulip-icon-mute unmute_stream" data-tippy-content="{{t 'Unmute' }}"
{{#unless muted}}style="display: none;"{{/unless}}></i>
</td>
{{#each stream_specific_notification_settings}}
{{> notification_settings_checkboxes
setting_name=this
prefix=(lookup ../stream "stream_id")
is_checked=(lookup ../stream this)
is_disabled=(lookup ../is_disabled this)
is_muted=../muted
}}
{{/each}}
</tr>