Mercurial > kallithea
changeset 3800:6e38d1070530 beta
make user listing have edit button to be consistent
with other admin views
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 30 Apr 2013 16:05:11 +0200 |
parents | a732bbc40c7e |
children | 6bad83d27fc1 |
files | rhodecode/templates/data_table/_dt_elements.html |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/templates/data_table/_dt_elements.html Tue Apr 30 15:32:04 2013 +0200 +++ b/rhodecode/templates/data_table/_dt_elements.html Tue Apr 30 16:05:11 2013 +0200 @@ -126,10 +126,17 @@ </%def> <%def name="user_actions(user_id, username)"> + <div style="float:left"> + <a href="${h.url('edit_user',id=user_id)}" title="${_('edit')}"> + ${h.submit('edit_%s' % username,_('edit'),class_="edit_icon action_button")} + </a> + </div> + <div style="float:left"> ${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()} + </div> </%def> <%def name="user_name(user_id, username)">