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">
|
|
|
|
<i class="toggle icon-vector-caret-right"></i>
|
|
|
|
<span class="control-label">
|
|
|
|
{{t "Copy from Stream" }}
|
|
|
|
</span>
|
|
|
|
</div>
|
2017-01-26 16:06:21 +01:00
|
|
|
|
2016-12-17 19:28:51 +01:00
|
|
|
<div id="stream-checkboxes">
|
|
|
|
{{#each streams}}
|
2017-01-07 08:03:28 +01:00
|
|
|
<label class="checkbox add-user-label" data-stream-id="{{this.stream_id}}" data-stream-name="{{this.name}}">
|
2016-12-17 19:28:51 +01:00
|
|
|
<input type="checkbox" name="stream" value="{{this.name}}" />
|
|
|
|
<span></span>
|
|
|
|
{{this.name}} ( <i class="icon-vector-user"></i> {{this.subscriber_count}})
|
|
|
|
</label>
|
|
|
|
{{/each}}
|
|
|
|
</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>
|
|
|
|
<a href="#" class="subs_set_all_users">{{t "Check all" }}</a> |
|
|
|
|
<a href="#" class="subs_unset_all_users">{{t "Uncheck all" }}</a>
|
|
|
|
</div>
|
|
|
|
|
2013-01-31 21:01:53 +01:00
|
|
|
<div id="user-checkboxes">
|
|
|
|
{{#each users}}
|
2017-01-07 07:58:08 +01:00
|
|
|
<label class="checkbox add-user-label" data-user-id="{{this.user_id}}" data-email="{{this.email}}">
|
2016-11-01 22:32:10 +01:00
|
|
|
<input type="checkbox" name="user" value="{{this.email}}" />
|
|
|
|
<span></span>
|
|
|
|
{{this.full_name}} ({{this.email}})
|
2016-07-07 00:58:11 +02:00
|
|
|
</label>
|
2013-01-31 21:01:53 +01:00
|
|
|
{{/each}}
|
|
|
|
</div>
|