From: Olivier Lamy Date: Sun, 26 Feb 2012 23:07:44 +0000 (+0000) Subject: use warning label for modal confirm delete user X-Git-Tag: archiva-1.4-M3~1214 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=aa750e5e589d98f24218ba0585592177b035f3dd;p=archiva.git use warning label for modal confirm delete user git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293959 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/user-grids.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/user-grids.html index f8ebd7494..da8f9912f 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/user-grids.html +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/user-grids.html @@ -103,4 +103,10 @@ + + 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 1042d0a57..bc0523640 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 @@ -118,7 +118,8 @@ $(function() { } ); } - ,"Ok", $.i18n.prop("cancel"), $.i18n.prop("user.delete.message") + ": " + currentUser.username()); + ,"Ok", $.i18n.prop("cancel"), $.i18n.prop("user.delete.message") + ": " + currentUser.username(), + $("#user-delete-warning-tmpl" ).tmpl(currentUser)); }