# HG changeset patch # User Marcin Kuzminski # Date 2013-04-30 14:05:11 # Node ID 6e38d1070530ad174e4255e4bc9eed232249ae12 # Parent a732bbc40c7ef23315fbd809d70970f0630d0499 make user listing have edit button to be consistent with other admin views diff --git a/rhodecode/templates/data_table/_dt_elements.html b/rhodecode/templates/data_table/_dt_elements.html --- a/rhodecode/templates/data_table/_dt_elements.html +++ b/rhodecode/templates/data_table/_dt_elements.html @@ -126,10 +126,17 @@ <%def name="user_actions(user_id, username)"> +
+ + ${h.submit('edit_%s' % username,_('edit'),class_="edit_icon action_button")} + +
+
${h.form(h.url('delete_user', id=user_id),method='delete')} ${h.submit('remove_',_('delete'),id="remove_user_%s" % user_id, class_="delete_icon action_button",onclick="return confirm('"+_('Confirm to delete this user: %s') % username+"');")} ${h.end_form()} +
<%def name="user_name(user_id, username)">