From 39d1eba24344f078048eb4081fbe48a4c0b5dd36 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Fri, 27 Jan 2012 15:58:49 +0000 Subject: [PATCH] replace password with starts if exists git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1236725 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/webapp/js/archiva/network-proxies.js | 4 ---- .../main/webapp/js/archiva/templates/network-proxies.html | 6 ++++++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/network-proxies.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/network-proxies.js index b717fe9cd..ed48913ed 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/network-proxies.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/network-proxies.js @@ -188,10 +188,6 @@ $(function() { { headerText: $.i18n.prop('username'), rowText: "username" - }, - { - headerText: $.i18n.prop('password'), - rowText: "password" } ], pageSize: 5, diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/network-proxies.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/network-proxies.html index e0f585852..c19d99b7d 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/network-proxies.html +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/network-proxies.html @@ -29,6 +29,7 @@ {{each(i, columnDefinition) columns}} ${ columnDefinition.headerText } {{/each}} + ${$.i18n.prop('password')} ${$.i18n.prop('edit')} ${$.i18n.prop('delete')} @@ -43,6 +44,11 @@ ${val} {{/each}} + {{if row.password()}} + ***** + {{else}} + + {{/if}} ${$.i18n.prop('edit')} -- 2.39.5