zulip/static/templates/settings/stream_specific_notification_row.hbs
Ryan Rehman 9cb2475b53 notification_settings: Display streams that differ.
The user has an option for setting global
notification settings as well as the same settings
for individual streams. Currently the user has to
keep track of each unmatched stream and then visit
each individual stream whose settings he wants to
update.

Thus this adds a dedicated UI table allowing the user
to view and update the notifications of the specific
streams which differs from the global settings.
It is located on the same page where the user defined
global notification settings can be modified.

Fixes #9228.
2020-03-31 15:57:47 -07:00

18 lines
629 B
Handlebars

<tr class="stream-row" 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}}
</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) }}
{{/each}}
</tr>