zulip/zephyr/static/templates/invite_subscription.handlebars

14 lines
533 B
Handlebars
Raw Normal View History

{{! Client-side Mustache template for rendering subscriptions in the "invite user" form.}}
<a href="#" onclick="invite.set_all_streams(event, true);">Check all</a> |
<a href="#" onclick="invite.set_all_streams(event, false);">Uncheck all</a>
<div id="stream-checkboxes">
{{#each streams}}
<label class="checkbox">
<input type="checkbox" name="stream" value="{{name}}"
{{#unless invite_only}}checked="true"{{/unless}}> {{name}}
{{#if invite_only}}<i class="icon-lock"></i>{{/if}}
</label>
{{/each}}
</div>