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}}
|
2020-01-28 22:01:49 +01:00
|
|
|
<label class="checkbox add-user-label" data-stream-id="{{this.stream_id}}">
|
|
|
|
<input type="checkbox" name="stream" />
|
2017-02-15 21:09:05 +01:00
|
|
|
<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
|
|
|
|
2021-04-21 00:46:14 +02:00
|
|
|
<br />
|
2017-01-26 16:06:21 +01:00
|
|
|
<input class="add-user-list-filter" name="user_list_filter" type="text"
|
2018-04-03 10:07:23 +02:00
|
|
|
autocomplete="off" placeholder="{{t "Filter" }}" />
|
2017-01-26 16:06:21 +01:00
|
|
|
|
|
|
|
|
|
|
|
<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}}
|
2020-01-27 17:54:29 +01:00
|
|
|
<label class="checkbox add-user-label" data-user-id="{{this.user_id}}">
|
2020-01-27 19:16:27 +01:00
|
|
|
<input type="checkbox" name="user" {{#if @first}}checked="checked"{{#unless is_admin}} disabled="disabled"{{/unless}}{{/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>
|