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

Failed to ignore revisions in .git-blame-ignore-revs.

28 lines
1.3 KiB
Handlebars
Raw Normal View History

<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">
{{nav-item route="adminUsersList.show" routeParam="active" label="admin.users.nav.active"}}
{{nav-item route="adminUsersList.show" routeParam="new" label="admin.users.nav.new"}}
{{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="staged" label="admin.users.nav.staged"}}
{{nav-item route="groups" label="groups.index.title"}}
<li class="admin-actions">
{{#if currentUser.can_invite_to_forum}}
{{d-button class="btn-default" action=(route-action "sendInvites") title="admin.invite.button_title" icon="user-plus" label="admin.invite.button_text"}}
{{/if}}
{{#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}}
</li>
2018-07-03 11:14:53 +08:00
</ul>
</nav>
2013-02-06 03:16:51 +08:00
</div>
<div class="admin-container">
{{outlet}}
</div>