mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 11:03:41 +08:00
f9648de897
Co-Authored-By: Bianca Nenciu <nbianca@users.noreply.github.com> Co-Authored-By: David Taylor <david@taylorhq.com>
31 lines
1.5 KiB
Handlebars
31 lines
1.5 KiB
Handlebars
<div class='admin-controls'>
|
|
<nav>
|
|
<ul class="nav nav-pills">
|
|
{{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}}
|
|
{{nav-item route='adminUsersList.show' routeParam='pending' label='admin.users.nav.pending'}}
|
|
{{/if}}
|
|
{{nav-item route='adminUsersList.show' routeParam='staff' label='admin.users.nav.staff'}}
|
|
{{nav-item route='adminUsersList.show' routeParam='suspended' label='admin.users.nav.suspended'}}
|
|
{{nav-item route='adminUsersList.show' routeParam='silenced' label='admin.users.nav.silenced'}}
|
|
{{nav-item route='adminUsersList.show' routeParam='suspect' label='admin.users.nav.suspect'}}
|
|
{{nav-item route='adminUsersList.show' routeParam='staged' label='admin.users.nav.staged'}}
|
|
{{nav-item route='groups' label='groups.index.title'}}
|
|
<div class="admin-actions">
|
|
{{#unless siteSettings.enable_sso}}
|
|
{{d-button class="btn-default" action=(route-action "sendInvites") title="admin.invite.button_title" icon="user-plus" label="admin.invite.button_text"}}
|
|
{{/unless}}
|
|
{{#if currentUser.admin}}
|
|
{{d-button class="btn-default" action=(route-action "exportUsers") title="admin.export_csv.button_title.user" icon="download" label="admin.export_csv.button_text"}}
|
|
{{/if}}
|
|
</div>
|
|
</ul>
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
<div class="admin-container">
|
|
{{outlet}}
|
|
</div>
|