zulip/static/templates/settings/notifications_stream_settin...

22 lines
1.1 KiB
Handlebars
Raw Normal View History

<div class="input-group">
<label for="realm_{{ notifications_type }}_stream" id="realm_{{ notifications_type }}_stream_label" class="inline-block">
{{ label }}
<span class="dropup actual-dropdown-menu" id="id_realm_{{ notifications_type }}_stream"
name="realm_{{ notifications_type }}_stream" aria-labelledby="realm_{{ notifications_type }}_stream_label">
<button class="button small rounded dropdown-toggle" data-toggle="dropdown">
<span id="realm_{{ notifications_type }}_stream_name"></span>
<i class="fa fa-pencil"></i>
</button>
<ul class="dropdown-menu modal-bg" role="menu">
<li class="dropdown-search" role="presentation">
<input class="no-input-change-detection" type="text" role="menuitem" placeholder="{{t 'Filter streams' }}" autofocus/>
</li>
<span class="dropdown-list-body" data-simplebar></span>
</ul>
</span>
</label>
{{#if is_admin }}
<a class="notification-disable" id="{{ notifications_type }}_stream_disable">{{t "[Disable]" }}</a>
{{/if}}
</div>