2013-01-31 21:01:53 +01:00
|
|
|
{{! Client-side Mustache template for rendering users in the stream creation modal.}}
|
2017-01-26 16:06:21 +01:00
|
|
|
|
2016-12-17 19:28:51 +01:00
|
|
|
<div id="copy-from-stream-expand-collapse" class="add-user-label">
|
2017-06-08 07:09:55 +02:00
|
|
|
<i class="toggle fa fa-caret-right" aria-hidden="true"></i>
|
2017-02-15 21:09:05 +01:00
|
|
|
<span class="control-label">
|
2017-03-08 13:30:27 +01:00
|
|
|
{{t "Copy from stream" }}
|
2017-02-15 21:09:05 +01:00
|
|
|
</span>
|
2016-12-17 19:28:51 +01:00
|
|
|
</div>
|
2017-01-26 16:06:21 +01:00
|
|
|
|
2016-12-17 19:28:51 +01:00
|
|
|
<div id="stream-checkboxes">
|
2017-02-15 21:09:05 +01:00
|
|
|
{{#each streams}}
|
|
|
|
<label class="checkbox add-user-label" data-stream-id="{{this.stream_id}}" data-stream-name="{{this.name}}">
|
|
|
|
<input type="checkbox" name="stream" value="{{this.name}}" />
|
|
|
|
<span></span>
|
2017-06-08 07:09:55 +02:00
|
|
|
{{this.name}} ( <i class="fa fa-user" aria-hidden="true"></i> {{this.subscriber_count}})
|
2017-02-15 21:09:05 +01:00
|
|
|
</label>
|
|
|
|
{{/each}}
|
2016-12-17 19:28:51 +01:00
|
|
|
</div>
|
2017-01-26 16:06:21 +01:00
|
|
|
|
|
|
|
<br />
|
|
|
|
<input class="add-user-list-filter" name="user_list_filter" type="text"
|
|
|
|
autocomplete="off" placeholder="{{t "Filter" }}" />
|
|
|
|
|
|
|
|
|
|
|
|
<div>
|
2017-02-15 21:09:05 +01:00
|
|
|
<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>
|
2017-01-26 16:06:21 +01:00
|
|
|
</div>
|
|
|
|
|
2013-01-31 21:01:53 +01:00
|
|
|
<div id="user-checkboxes">
|
2017-02-15 21:09:05 +01:00
|
|
|
{{#each users}}
|
|
|
|
<label class="checkbox add-user-label" data-user-id="{{this.user_id}}" data-email="{{this.email}}">
|
2017-11-26 12:57:03 +01:00
|
|
|
<input type="checkbox" name="user" value="{{this.email}}" {{#if @first}}checked="checked"{{/if}}/>
|
2017-02-15 21:09:05 +01:00
|
|
|
<span></span>
|
|
|
|
{{this.full_name}} ({{this.email}})
|
|
|
|
</label>
|
|
|
|
{{/each}}
|
2013-01-31 21:01:53 +01:00
|
|
|
</div>
|