discourse/app/assets/javascripts/admin/addon/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">
<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" />
<li class="admin-actions">
{{#if this.currentUser.can_invite_to_forum}}
<DButton @class="btn-default" @action={{route-action "sendInvites"}} @title="admin.invite.button_title" @icon="user-plus" @label="admin.invite.button_text" />
{{/if}}
{{#if this.currentUser.admin}}
<DButton @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>