Changeset - 6e38d1070530
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2013-04-30 16:05:11
marcin@python-works.com
make user listing have edit button to be consistent
with other admin views
1 file changed with 7 insertions and 0 deletions:
0 comments (0 inline, 0 general)
rhodecode/templates/data_table/_dt_elements.html
Show inline comments
 
@@ -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)">
0 comments (0 inline, 0 general)