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
|
|
|
|
2021-12-04 15:39:38 +01:00
|
|
|
<label class="checkbox display-block">
|
|
|
|
<input type="checkbox" name="stream" value="{{stream_id}}"
|
|
|
|
{{#if default_stream}}checked="checked"{{/if}} />
|
|
|
|
<span></span>
|
|
|
|
{{#if invite_only}}<i class="fa fa-lock" aria-hidden="true"></i>{{/if}}
|
|
|
|
{{#if (eq name ../notifications_stream)}}
|
2022-07-28 18:33:09 +02:00
|
|
|
#{{name}} <i>({{t 'Receives new stream announcements' }})</i>
|
2021-12-04 15:39:38 +01:00
|
|
|
{{else}}
|
2022-11-10 20:29:39 +01:00
|
|
|
{{#if (not invite_only)}}#{{/if}}{{name}}
|
2021-12-04 15:39:38 +01:00
|
|
|
{{/if}}
|
|
|
|
</label>
|
2017-02-15 21:06:07 +01:00
|
|
|
{{/each}}
|
2012-12-05 22:48:15 +01:00
|
|
|
</div>
|