discourse/app/assets/javascripts/admin/templates/users-list.hbs

27 lines
1.3 KiB
Handlebars
Raw Normal View History

2013-02-06 03:16:51 +08:00
<div class='admin-controls'>
2018-02-15 01:26:05 +08:00
<nav>
2013-02-06 03:16:51 +08:00
<ul class="nav nav-pills">
2015-07-11 20:09:12 +08:00
{{nav-item route='adminUsersList.show' routeParam='active' label='admin.users.nav.active'}}
{{nav-item route='adminUsersList.show' routeParam='new' label='admin.users.nav.new'}}
{{#if siteSettings.must_approve_users}}
2015-07-11 20:09:12 +08:00
{{nav-item route='adminUsersList.show' routeParam='pending' label='admin.users.nav.pending'}}
2013-02-06 03:16:51 +08:00
{{/if}}
2015-07-11 20:09:12 +08:00
{{nav-item route='adminUsersList.show' routeParam='staff' label='admin.users.nav.staff'}}
{{nav-item route='adminUsersList.show' routeParam='suspended' label='admin.users.nav.suspended'}}
2017-11-11 01:18:08 +08:00
{{nav-item route='adminUsersList.show' routeParam='silenced' label='admin.users.nav.silenced'}}
2015-07-11 20:09:12 +08:00
{{nav-item route='adminUsersList.show' routeParam='suspect' label='admin.users.nav.suspect'}}
{{nav-item route='groups' label='groups.index.title'}}
2013-02-06 03:16:51 +08:00
</ul>
2018-02-15 01:26:05 +08:00
</nav>
2014-08-09 18:28:57 +08:00
<div class="pull-right">
{{#unless siteSettings.enable_sso}}
{{d-button action="sendInvites" title="admin.invite.button_title" icon="user-plus" label="admin.invite.button_text"}}
{{/unless}}
{{d-button action="exportUsers" title="admin.export_csv.button_title.user" icon="download" label="admin.export_csv.button_text"}}
2014-08-09 18:28:57 +08:00
</div>
2013-02-06 03:16:51 +08:00
</div>
<div class="admin-container">
{{outlet}}
</div>