mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
de9ca54aed
* thin upgrade * work in progress - groups * fix live-refresh in dev
27 lines
738 B
Handlebars
27 lines
738 B
Handlebars
<!-- work in progress, please ignore -->
|
|
<div class='row'>
|
|
<div class='content-list span6'>
|
|
<h3>{{i18n admin.groups.edit}}</h3>
|
|
<ul>
|
|
{{#each group in controller}}
|
|
<li>
|
|
<a href="#" {{action "edit" group}} {{bindAttr class="group.active"}}>{{group.name}}</a>
|
|
</li>
|
|
{{/each}}
|
|
</ul>
|
|
</div>
|
|
|
|
<div class='content-editor'>
|
|
{{#if content.active}}
|
|
{{#with content.active}}
|
|
<h3>{{name}}</h3>
|
|
{{view Discourse.UserSelector id="private-message-users" class="span8" placeholderKey="admin.groups.selector_placeholder" tabindex="1" usernamesBinding="usernames"}}
|
|
<button>Save</button>
|
|
|
|
{{/with}}
|
|
{{else}}
|
|
nothing here yet
|
|
{{/if}}
|
|
</div>
|
|
</div>
|