##// END OF EJS Templates
use the same edit button in admin pages for user groups as in repos and repo groups
marcink -
r3716:355fcdd2 beta
parent child Browse files
Show More
@@ -139,7 +139,7 b''
139 139 <div class="box box-right">
140 140 <!-- box / title -->
141 141 <div class="title">
142 <h5>${_('Permissions summary')}</h5>
142 <h5>${_('Global Permissions')}</h5>
143 143 </div>
144 144 ${h.form(url('users_group_perm', id=c.users_group.users_group_id), method='put')}
145 145 <div class="form">
@@ -34,7 +34,7 b''
34 34 <th class="left">${_('Group name')}</th>
35 35 <th class="left">${_('Members')}</th>
36 36 <th class="left">${_('Active')}</th>
37 <th class="left">${_('Action')}</th>
37 <th class="left" colspan="2">${_('Action')}</th>
38 38 </tr>
39 39 %for cnt,u_group in enumerate(c.users_groups_list):
40 40 <tr class="parity${cnt%2}">
@@ -42,6 +42,11 b''
42 42 <td><span class="tooltip" title="${h.tooltip(', '.join(map(h.safe_unicode,[x.user.username for x in u_group.members[:50]])))}">${len(u_group.members)}</span></td>
43 43 <td>${h.boolicon(u_group.users_group_active)}</td>
44 44 <td>
45 <a href="${h.url('edit_users_group', id=u_group.users_group_id)}" title="${_('Edit')}">
46 ${h.submit('edit_%s' % u_group.users_group_name,_('edit'),class_="edit_icon action_button")}
47 </a>
48 </td>
49 <td>
45 50 ${h.form(url('users_group', id=u_group.users_group_id),method='delete')}
46 51 ${h.submit('remove_',_('delete'),id="remove_group_%s" % u_group.users_group_id,
47 52 class_="delete_icon action_button",onclick="return confirm('"+_('Confirm to delete this user group: %s') % u_group.users_group_name+"');")}
General Comments 0
You need to be logged in to leave comments. Login now