zulip/zephyr/jstemplates/invite_subscription.html

14 lines
533 B
HTML
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>