mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
29 lines
961 B
Handlebars
29 lines
961 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 model}}
|
|
<li>
|
|
<a href="#" {{action "edit" group}} {{bindAttr class="group.active"}}>{{group.name}} <span class="count">{{group.userCountDisplay}}</span></a>
|
|
</li>
|
|
{{/each}}
|
|
</ul>
|
|
<div>
|
|
<button {{bindAttr disabled="refreshingAutoGroups"}} {{action "refreshAutoGroups"}}>Refresh Automatic Groups</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class='content-editor'>
|
|
{{#if model.active}}
|
|
{{#with model.active}}
|
|
<h3>{{name}}</h3>
|
|
{{view Discourse.UserSelector id="private-message-users" class="span8" placeholderKey="admin.groups.selector_placeholder" tabindex="1" usernamesBinding="usernames"}}
|
|
<button {{bindAttr disabled="allowSave"}}>Save</button>
|
|
|
|
{{/with}}
|
|
{{else}}
|
|
nothing here yet
|
|
{{/if}}
|
|
</div>
|
|
</div>
|