2012-12-05 22:48:15 +01:00
|
|
|
{{! Client-side Mustache template for rendering subscriptions in the "invite user" form.}}
|
2017-11-25 16:29:09 +01:00
|
|
|
<div class="invite-stream-controls">
|
2020-08-11 16:04:16 +02:00
|
|
|
<button class="btn btn-link" type="button" id="invite_check_all_button">{{t "Check all" }}</button> |
|
|
|
|
<button class="btn btn-link" type="button" id="invite_uncheck_all_button">{{t "Uncheck all" }}</button>
|
2017-11-25 16:29:09 +01:00
|
|
|
</div>
|
2017-04-21 01:47:14 +02:00
|
|
|
<div id="invite-stream-checkboxes" class="new-style">
|
2017-02-15 21:06:07 +01:00
|
|
|
{{#each streams}}
|
2017-04-21 01:47:14 +02:00
|
|
|
|
2017-05-16 05:43:21 +02:00
|
|
|
<label class="checkbox display-block">
|
2018-12-22 05:41:54 +01:00
|
|
|
<input type="checkbox" name="stream" value="{{stream_id}}"
|
2018-04-03 10:07:23 +02:00
|
|
|
{{#if default_stream}}checked="checked"{{/if}} />
|
2017-04-21 01:47:14 +02:00
|
|
|
<span></span>
|
2017-06-08 07:09:54 +02:00
|
|
|
{{#if invite_only}}<i class="fa fa-lock" aria-hidden="true"></i>{{/if}}
|
2020-01-18 17:54:25 +01:00
|
|
|
{{#if (eq name ../notifications_stream)}}
|
2020-01-28 02:06:51 +01:00
|
|
|
#{{name}} <i>({{t 'Receives new stream notifications' }})</i>
|
2020-01-18 17:54:25 +01:00
|
|
|
{{else}}
|
2020-01-18 15:43:11 +01:00
|
|
|
#{{name}}
|
2020-01-18 17:54:25 +01:00
|
|
|
{{/if}}
|
2017-02-15 21:06:07 +01:00
|
|
|
</label>
|
|
|
|
{{/each}}
|
2012-12-05 22:48:15 +01:00
|
|
|
</div>
|