diff rhodecode/templates/admin/users/users.html @ 739:554ed64953ff beta

fixes #76 added confirmation dialog for user removal. small ldap fix + renamed summary changes to shortlog
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 23 Nov 2010 01:54:33 +0100
parents e002951ba66d
children de671e3af0e5
line wrap: on
line diff
--- a/rhodecode/templates/admin/users/users.html	Mon Nov 22 19:00:11 2010 +0100
+++ b/rhodecode/templates/admin/users/users.html	Tue Nov 23 01:54:33 2010 +0100
@@ -50,7 +50,8 @@
                     <td>${h.bool2icon(user.is_ldap)}</td>
                     <td>
                         ${h.form(url('user', id=user.user_id),method='delete')}
-                            ${h.submit('remove','delete',id="remove_user_%s" % user.user_id,class_="delete_icon action_button")}
+                            ${h.submit('remove_','delete',id="remove_user_%s" % user.user_id,
+                            class_="delete_icon action_button",onclick="return confirm('Confirm to delete this user');")}
                         ${h.end_form()}
                     </td>
                 </tr>