Files
zulip/zephyr/static/templates/new_stream_users.handlebars
Keegan McAllister 17d5406b55 [manual] Fetch Handlebars templates using Ajax
...rather than embedding them into index.html.

This is only acceptable for dev, but the next commit adds an alternative
mechanism for prod.

There isn't actually a manual deployment step here.  However, this commit won't
work on staging / prod without the next one (since we don't serve
zephyr/static/templates in prod).

(imported from commit dce7ddfe89e07afc3a96699bb972fd124335aa05)
2013-04-02 14:43:58 -04:00

12 lines
452 B
Handlebars

{{! Client-side Mustache template for rendering users in the stream creation modal.}}
<a href="#" onclick="subs.set_all_users(event, true);">Check all</a> |
<a href="#" onclick="subs.set_all_users(event, false);">Uncheck all</a>
<div id="user-checkboxes">
{{#each users}}
<label class="checkbox">
<input type="checkbox" name="user" value="{{this.email}}" checked="true"> {{this.full_name}} ({{this.email}})
</label><br />
{{/each}}
</div>