2012-12-05 22:48:15 +01:00
|
|
|
{{! 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">
|
2013-02-07 02:15:12 +01:00
|
|
|
{{#each streams}}
|
2012-12-05 22:48:15 +01:00
|
|
|
<label class="checkbox">
|
2013-02-07 02:15:12 +01:00
|
|
|
<input type="checkbox" name="stream" value="{{name}}"
|
|
|
|
{{#unless invite_only}}checked="true"{{/unless}}> {{name}}
|
|
|
|
{{#if invite_only}}<i class="icon-lock"></i>{{/if}}
|
2012-12-05 22:48:15 +01:00
|
|
|
</label>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
|