2023-02-09 22:43:25 +01:00
|
|
|
{{! Client-side Handlebars 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>
|
2022-11-10 21:04:35 +01:00
|
|
|
{{#if (or invite_only is_web_public)}} {{>stream_privacy}} {{name}}
|
2021-12-04 15:39:38 +01:00
|
|
|
{{else}}
|
2022-11-10 21:04:35 +01:00
|
|
|
#{{name}}
|
|
|
|
{{/if}}
|
|
|
|
{{#if (eq name ../notifications_stream)}}
|
|
|
|
<i>({{t 'Receives new stream announcements' }})</i>
|
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>
|