##// END OF EJS Templates
make user listing have edit button to be consistent...
marcink -
r3800:6e38d107 beta
parent child Browse files
Show More
@@ -126,10 +126,17 b''
126 </%def>
126 </%def>
127
127
128 <%def name="user_actions(user_id, username)">
128 <%def name="user_actions(user_id, username)">
129 <div style="float:left">
130 <a href="${h.url('edit_user',id=user_id)}" title="${_('edit')}">
131 ${h.submit('edit_%s' % username,_('edit'),class_="edit_icon action_button")}
132 </a>
133 </div>
134 <div style="float:left">
129 ${h.form(h.url('delete_user', id=user_id),method='delete')}
135 ${h.form(h.url('delete_user', id=user_id),method='delete')}
130 ${h.submit('remove_',_('delete'),id="remove_user_%s" % user_id,
136 ${h.submit('remove_',_('delete'),id="remove_user_%s" % user_id,
131 class_="delete_icon action_button",onclick="return confirm('"+_('Confirm to delete this user: %s') % username+"');")}
137 class_="delete_icon action_button",onclick="return confirm('"+_('Confirm to delete this user: %s') % username+"');")}
132 ${h.end_form()}
138 ${h.end_form()}
139 </div>
133 </%def>
140 </%def>
134
141
135 <%def name="user_name(user_id, username)">
142 <%def name="user_name(user_id, username)">
General Comments 0
You need to be logged in to leave comments. Login now