From c7647b50526a7be550f1142e8951f6fc13dca188 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Fri, 10 Feb 2012 18:22:58 +0000 Subject: [PATCH] add nav header entries git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1242875 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/archiva/i18n/default.properties | 2 ++ .../src/main/webapp/js/archiva/templates/menu.html | 10 ++++++++-- .../src/main/webapp/js/redback/users.js | 3 ++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties b/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties index cd8b3f94e..ef88c63a4 100644 --- a/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties +++ b/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties @@ -107,6 +107,8 @@ menu.proxy-connectors=Proxy Connectors menu.network-proxies=Network Proxies menu.roles=User Roles menu.repositories=Repositories +menu.manage=Manage +menu.administration=Administration #user user.change.password.required=Change password required diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/menu.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/menu.html index c922035c9..74a26d8f7 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/menu.html +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/menu.html @@ -18,13 +18,18 @@ --> diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/users.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/users.js index 6494ebce1..7e928c670 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/users.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/users.js @@ -234,7 +234,8 @@ $(function() { /** * called from the menu to display tabs with users grid */ - displayUsersGrid=function() { + displayUsersGrid=function(menuEntry) { + $(menuEntry).parent().addClass("active"); screenChange(); $("#main-content").html(mediumSpinnerImg()); jQuery("#main-content").attr("data-bind",'template: {name:"usersGrid"}'); -- 2.39.5