From f6b701ede41ab674205154a7eb24765f5d564f1f Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Fri, 30 Mar 2012 10:02:06 +0000 Subject: [PATCH] shortcut to users management git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1307338 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-webapp-js/src/main/webapp/js/archiva/main.js | 5 +++++ .../src/main/webapp/js/templates/archiva/menu.html | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js index c8962a432..fd9af6332 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js @@ -138,6 +138,11 @@ function() { displayUploadArtifact(); return; } + + if (screen=='manage-users' && hasKarma('archiva-manage-users')){ + displayUsersGrid(); + return; + } } // by default display search screen displaySearch(); diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/menu.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/menu.html index 0193589dd..df70de7a8 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/menu.html +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/menu.html @@ -70,7 +70,7 @@