rearranging manage/users routes

v1.18.x
psychobunny 10 years ago
parent 901ef3d382
commit 39de76fa5c

@ -46,7 +46,7 @@ function addRoutes(router, middleware, controllers) {
router.get('/manage/tags', controllers.admin.tags.get);
router.get('/manage/users', controllers.admin.users.search);
router.get('/manage/users', controllers.admin.users.sortByJoinDate);
router.get('/manage/users/search', controllers.admin.users.search);
router.get('/manage/users/latest', controllers.admin.users.sortByJoinDate);
router.get('/manage/users/sort-posts', controllers.admin.users.sortByPosts);

@ -104,7 +104,7 @@
<li class="nav-header"><i class="fa fa-fw fa-comments-o"></i> Manage</li>
<li><a href="{relative_path}/admin/manage/categories/active">Categories</a></li>
<li><a href="{relative_path}/admin/manage/tags">Tags</a></li>
<li><a href="{relative_path}/admin/manage/users/latest">Users</a></li>
<li><a href="{relative_path}/admin/manage/users">Users</a></li>
<li><a href="{relative_path}/admin/manage/groups">Groups</a></li>
</ul>
</div>

@ -4,11 +4,11 @@
<div class="panel-heading"><i class="fa fa-user"></i> Users</div>
<div class="panel-body">
<ul class="nav nav-pills">
<li class='active'><a href='{relative_path}/admin/manage/users/search'>Search</a></li>
<li class=''><a href='{relative_path}/admin/manage/users/latest'>Latest Users</a></li>
<li class='active'><a href='{relative_path}/admin/manage/users/latest'>Latest Users</a></li>
<li class=''><a href='{relative_path}/admin/manage/users/sort-posts'>Top Posters</a></li>
<li class=''><a href='{relative_path}/admin/manage/users/sort-reputation'>Most Reputation</a></li>
<li class=''><a href='{relative_path}/admin/manage/users/banned'>Banned</a></li>
<li class=''><a href='{relative_path}/admin/manage/users/search'>User Search</a></li>
<div class="btn-group pull-right">

Loading…
Cancel
Save