# HG changeset patch # User Marcin Kuzminski # Date 1325643694 -7200 # Node ID 94e9e860509650ab557c2e276fc9d0ad864f011c # Parent d7e92eaa3a617f2a8a80b4f730172e801795e2f3 more verbose removal messages diff -r d7e92eaa3a61 -r 94e9e8605096 rhodecode/templates/admin/repos/repos.html --- a/rhodecode/templates/admin/repos/repos.html Wed Jan 04 04:01:35 2012 +0200 +++ b/rhodecode/templates/admin/repos/repos.html Wed Jan 04 04:21:34 2012 +0200 @@ -65,7 +65,7 @@ ${h.person(repo['contact'])} ${h.form(url('repo', repo_name=repo['name']),method='delete')} - ${h.submit('remove_%s' % repo['name'],_('delete'),class_="delete_icon action_button",onclick="return confirm('"+_('Confirm to delete this repository')+"');")} + ${h.submit('remove_%s' % repo['name'],_('delete'),class_="delete_icon action_button",onclick="return confirm('"+_('Confirm to delete this repository: %s') % repo['name']+"');")} ${h.end_form()} diff -r d7e92eaa3a61 -r 94e9e8605096 rhodecode/templates/admin/repos_groups/repos_groups_show.html --- a/rhodecode/templates/admin/repos_groups/repos_groups_show.html Wed Jan 04 04:01:35 2012 +0200 +++ b/rhodecode/templates/admin/repos_groups/repos_groups_show.html Wed Jan 04 04:21:34 2012 +0200 @@ -51,7 +51,7 @@ ${gr.repositories.count()} ${h.form(url('repos_group', id=gr.group_id),method='delete')} - ${h.submit('remove_%s' % gr.name,'delete',class_="delete_icon action_button",onclick="return confirm('"+_('Confirm to delete this group')+"');")} + ${h.submit('remove_%s' % gr.name,'delete',class_="delete_icon action_button",onclick="return confirm('"+_('Confirm to delete this group: %s') % gr.name+"');")} ${h.end_form()} diff -r d7e92eaa3a61 -r 94e9e8605096 rhodecode/templates/admin/users/user_edit_my_account.html --- a/rhodecode/templates/admin/users/user_edit_my_account.html Wed Jan 04 04:01:35 2012 +0200 +++ b/rhodecode/templates/admin/users/user_edit_my_account.html Wed Jan 04 04:21:34 2012 +0200 @@ -162,7 +162,7 @@ ${_('private')} ${h.form(url('repo_settings_delete', repo_name=repo['name']),method='delete')} - ${h.submit('remove_%s' % repo['name'],'',class_="delete_icon action_button",onclick="return confirm('Confirm to delete this repository');")} + ${h.submit('remove_%s' % repo['name'],'',class_="delete_icon action_button",onclick="return confirm('"+_('Confirm to delete this repository: %s') % repo['name']+"');")} ${h.end_form()} diff -r d7e92eaa3a61 -r 94e9e8605096 rhodecode/templates/admin/users/users.html --- a/rhodecode/templates/admin/users/users.html Wed Jan 04 04:01:35 2012 +0200 +++ b/rhodecode/templates/admin/users/users.html Wed Jan 04 04:21:34 2012 +0200 @@ -53,7 +53,7 @@ ${h.form(url('delete_user', id=user.user_id),method='delete')} ${h.submit('remove_',_('delete'),id="remove_user_%s" % user.user_id, - class_="delete_icon action_button",onclick="return confirm('"+_('Confirm to delete this user')+"');")} + class_="delete_icon action_button",onclick="return confirm('"+_('Confirm to delete this user: %s') % user.username+"');")} ${h.end_form()} diff -r d7e92eaa3a61 -r 94e9e8605096 rhodecode/templates/admin/users_groups/users_groups.html --- a/rhodecode/templates/admin/users_groups/users_groups.html Wed Jan 04 04:01:35 2012 +0200 +++ b/rhodecode/templates/admin/users_groups/users_groups.html Wed Jan 04 04:21:34 2012 +0200 @@ -42,7 +42,7 @@ ${h.form(url('users_group', id=u_group.users_group_id),method='delete')} ${h.submit('remove_','delete',id="remove_group_%s" % u_group.users_group_id, - class_="delete_icon action_button",onclick="return confirm('Confirm to delete this users group');")} + class_="delete_icon action_button",onclick="return confirm('"+_('Confirm to delete this users group: %s') % u_group.users_group_name+"');")} ${h.end_form()}