zulip/zephyr/jstemplates/invite_subscription.html
Waseem Daher e98b4b9f1e invite: Draw lock by invite-only streams (and don't select by default).
(imported from commit 1ad8a033801f70d3c6491691eebef79bbce82b77)
2013-02-06 20:15:12 -05:00

14 lines
533 B
HTML

{{! 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>