discourse/app/assets/javascripts/admin/templates/groups.js.handlebars

21 lines
656 B
Handlebars

<div class='row groups'>
<div class='content-list span6'>
<h3>{{i18n admin.groups.edit}}</h3>
<ul>
{{#each group in arrangedContent}}
<li>
<a href='#' {{action showGroup group}}>{{group.name}} <span class="count">{{group.userCountDisplay}}</span></a>
</li>
{{/each}}
</ul>
<div class='controls'>
<button class='btn' {{bind-attr disabled="refreshingAutoGroups"}} {{action "refreshAutoGroups"}}>{{i18n admin.groups.refresh}}</button>
<button class='btn' {{action newGroup}}>{{i18n admin.groups.new}}</button>
</div>
</div>
<div class='content-editor'>
{{outlet}}
</div>
</div>