Author: bdaw
Date: 2007-05-21 10:41:34 -0400 (Mon, 21 May 2007)
New Revision: 7297
Modified:
trunk/core/src/resources/portal-core-war/WEB-INF/classes/Resource.properties
trunk/core/src/resources/portal-core-war/WEB-INF/jsp/user/listUsers.jsp
Log:
JBPORTAL-1430 The "Delete user" action should prompt for comfirmation.
Modified: trunk/core/src/resources/portal-core-war/WEB-INF/classes/Resource.properties
===================================================================
---
trunk/core/src/resources/portal-core-war/WEB-INF/classes/Resource.properties 2007-05-21
14:25:58 UTC (rev 7296)
+++
trunk/core/src/resources/portal-core-war/WEB-INF/classes/Resource.properties 2007-05-21
14:41:34 UTC (rev 7297)
@@ -261,6 +261,7 @@
LIST_ACTIONADDROLESTOUSER=Roles
LIST_ACTIONEDITROLES=Edit Roles
LIST_ACTIONDELETEUSER=Delete user
+LIST_CONFIRMDELETEUSER=You are about to delete a user?
LIST_SEARCHRESULTS=Search results for
LIST_MATCHING=Matching Users
FILTER=Filter
Modified: trunk/core/src/resources/portal-core-war/WEB-INF/jsp/user/listUsers.jsp
===================================================================
--- trunk/core/src/resources/portal-core-war/WEB-INF/jsp/user/listUsers.jsp 2007-05-21
14:25:58 UTC (rev 7296)
+++ trunk/core/src/resources/portal-core-war/WEB-INF/jsp/user/listUsers.jsp 2007-05-21
14:41:34 UTC (rev 7297)
@@ -28,7 +28,9 @@
<td nowrap="nowrap"
class="${n:out("row.cssClass")}"><a
href="${n:out("row.editURL")}">${n:i18n("LIST_ACTIONSSHOWPROFILE")}</a> | <a
href="${n:out("row.rolesURL")}">${n:i18n("LIST_ACTIONADDROLESTOUSER")}</a> | <a
-
href="${n:out("row.deleteURL")}">${n:i18n("LIST_ACTIONDELETEUSER")}</a></td>
+ href="${n:out("row.deleteURL")}"
+ onClick="javascript:return
confirm('${n:i18n("LIST_CONFIRMDELETEUSER")}')"
+ >${n:i18n("LIST_ACTIONDELETEUSER")}</a></td>
</tr>
</n:iterate>
</table>
Show replies by date