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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
1.5 KiB
Handlebars
Raw Normal View History

2013-02-05 14:16:51 -05:00
<div class="admin-controls">
2018-02-14 12:26:05 -05:00
<nav>
2013-02-05 14:16:51 -05:00
<ul class="nav nav-pills">
{{nav-item route="adminUsersList.show" routeParam="active" label="admin.users.nav.active" class="active-users"}}
{{nav-item route="adminUsersList.show" routeParam="new" label="admin.users.nav.new" class="new-users"}}
{{nav-item route="adminUsersList.show" routeParam="staff" label="admin.users.nav.staff" class="staff-users"}}
{{nav-item route="adminUsersList.show" routeParam="suspended" label="admin.users.nav.suspended" class="suspended-users"}}
{{nav-item route="adminUsersList.show" routeParam="silenced" label="admin.users.nav.silenced" class="silenced-users"}}
{{nav-item route="adminUsersList.show" routeParam="staged" label="admin.users.nav.staged" class="staged-users"}}
{{nav-item route="groups" label="groups.index.title" class="groups"}}
{{plugin-outlet name="admin-users-list-nav-after" tagName="" connectorTagName=""}}
<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-02 23:14:53 -04:00
</ul>
</nav>
2013-02-05 14:16:51 -05:00
</div>
<div class="admin-container">
{{outlet}}
</div>