From a8c941a86993cd698bd27c68d83359e98fe4360d Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Sun, 26 Feb 2012 23:07:03 +0000 Subject: [PATCH] use warning label for modal confirm delete network proxy git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293956 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/webapp/js/archiva/network-proxies.js | 3 ++- .../main/webapp/js/archiva/templates/network-proxies.html | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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 800dc1967..f96253a29 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 @@ -193,7 +193,8 @@ $(function() { closeDialogConfirm(); } } - )}, $.i18n.prop('ok'), $.i18n.prop('cancel'), $.i18n.prop('networkproxy.delete.confirm',networkProxy.id()),null); + )}, $.i18n.prop('ok'), $.i18n.prop('cancel'), $.i18n.prop('networkproxy.delete.confirm',networkProxy.id()), + $("#network-proxy-delete-warning-tmpl" ).tmpl(networkProxy)); } } 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 7521aaef0..aebbb784f 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 @@ -163,4 +163,9 @@ {{if bulkSave()}} ${$.i18n.prop('save.all')} {{/if}} + + \ No newline at end of file