zulip/static/templates/new_stream_users.hbs

33 lines
1.0 KiB
Handlebars

{{! Client-side Mustache template for rendering users in the stream creation modal.}}
<div id="copy-from-stream-expand-collapse" class="add-user-label">
<i class="toggle fa fa-caret-right" aria-hidden="true"></i>
<span class="control-label">
{{t "Copy from stream" }}
</span>
</div>
<div id="stream-checkboxes">
{{#each streams}}
<label class="checkbox add-user-label" data-stream-id="{{this.stream_id}}">
<input type="checkbox" name="stream" />
<span></span>
{{this.name}} ( <i class="fa fa-user" aria-hidden="true"></i> {{this.subscriber_count}})
</label>
{{/each}}
</div>
<br />
<input class="add-user-list-filter" name="user_list_filter" type="text"
autocomplete="off" placeholder="{{t "Filter" }}" />
<div>
<a href="#" draggable="false" class="subs_set_all_users">{{t "Check all" }}</a> |
<a href="#" draggable="false" class="subs_unset_all_users">{{t "Uncheck all" }}</a>
</div>
<div id="user-checkboxes-simplebar-wrapper" data-simplebar>
<div id="user-checkboxes"></div>
</div>