discourse/app/assets/javascripts/admin/templates/groups.hbs

21 lines
711 B
Handlebars
Raw Normal View History

<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'>
2014-05-17 16:27:12 +08:00
<button class='btn' {{bind-attr disabled="refreshingAutoGroups"}} {{action "refreshAutoGroups"}}><i class="fa fa-refresh"></i>{{i18n admin.groups.refresh}}</button>
<button class='btn' {{action newGroup}}><i class="fa fa-plus"></i>{{i18n admin.groups.new}}</button>
2013-05-08 13:20:38 +08:00
</div>
</div>
<div class='content-editor'>
{{outlet}}
</div>
</div>