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">
|
2022-06-30 06:30:50 -04:00
|
|
|
<NavItem
|
|
|
|
@route="adminUsersList.show"
|
|
|
|
@routeParam="active"
|
|
|
|
@label="admin.users.nav.active"
|
|
|
|
@class="active-users"
|
|
|
|
/>
|
|
|
|
<NavItem
|
|
|
|
@route="adminUsersList.show"
|
|
|
|
@routeParam="new"
|
|
|
|
@label="admin.users.nav.new"
|
|
|
|
@class="new-users"
|
|
|
|
/>
|
|
|
|
<NavItem
|
|
|
|
@route="adminUsersList.show"
|
|
|
|
@routeParam="staff"
|
|
|
|
@label="admin.users.nav.staff"
|
|
|
|
@class="staff-users"
|
|
|
|
/>
|
|
|
|
<NavItem
|
|
|
|
@route="adminUsersList.show"
|
|
|
|
@routeParam="suspended"
|
|
|
|
@label="admin.users.nav.suspended"
|
|
|
|
@class="suspended-users"
|
|
|
|
/>
|
|
|
|
<NavItem
|
|
|
|
@route="adminUsersList.show"
|
|
|
|
@routeParam="silenced"
|
|
|
|
@label="admin.users.nav.silenced"
|
|
|
|
@class="silenced-users"
|
|
|
|
/>
|
|
|
|
<NavItem
|
|
|
|
@route="adminUsersList.show"
|
|
|
|
@routeParam="staged"
|
|
|
|
@label="admin.users.nav.staged"
|
|
|
|
@class="staged-users"
|
|
|
|
/>
|
|
|
|
<NavItem @route="groups" @label="groups.index.title" @class="groups" />
|
|
|
|
<PluginOutlet @name="admin-users-list-nav-after" />
|
2020-02-05 09:23:35 -05:00
|
|
|
|
|
|
|
<li class="admin-actions">
|
2022-07-05 13:41:31 -04:00
|
|
|
{{#if this.currentUser.can_invite_to_forum}}
|
2022-07-15 16:09:48 -04:00
|
|
|
<DButton
|
|
|
|
@class="btn-flat"
|
|
|
|
@action={{route-action "sendInvites"}}
|
|
|
|
@title="admin.invite.button_title"
|
|
|
|
@icon="user-plus"
|
|
|
|
@label="admin.invite.button_text"
|
|
|
|
/>
|
2020-02-05 09:23:35 -05:00
|
|
|
{{/if}}
|
|
|
|
|
2022-07-05 13:41:31 -04:00
|
|
|
{{#if this.currentUser.admin}}
|
2022-07-15 16:09:48 -04:00
|
|
|
<DButton
|
|
|
|
@class="btn-flat"
|
|
|
|
@action={{route-action "exportUsers"}}
|
|
|
|
@title="admin.export_csv.button_title.user"
|
|
|
|
@icon="download"
|
|
|
|
@label="admin.export_csv.button_text"
|
|
|
|
/>
|
2020-02-05 09:23:35 -05:00
|
|
|
{{/if}}
|
|
|
|
</li>
|
2018-07-02 23:14:53 -04:00
|
|
|
</ul>
|
|
|
|
</nav>
|
2013-02-05 14:16:51 -05:00
|
|
|
</div>
|
|
|
|
|
2013-11-16 14:14:34 -05:00
|
|
|
<div class="admin-container">
|
2014-11-26 13:05:49 -05:00
|
|
|
{{outlet}}
|
2014-01-14 12:48:57 -05:00
|
|
|
</div>
|