zulip/static/templates/invite_subscription.hbs

22 lines
903 B
Handlebars

{{! Client-side Mustache template for rendering subscriptions in the "invite user" form.}}
<div class="invite-stream-controls">
<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>
</div>
<div id="invite-stream-checkboxes" class="new-style">
{{#each streams}}
<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)}}
#{{name}} <i>({{t 'Receives new stream notifications' }})</i>
{{else}}
#{{name}}
{{/if}}
</label>
{{/each}}
</div>