Show More
@@ -139,7 +139,7 b'' | |||||
139 | <div class="box box-right"> |
|
139 | <div class="box box-right"> | |
140 | <!-- box / title --> |
|
140 | <!-- box / title --> | |
141 | <div class="title"> |
|
141 | <div class="title"> | |
142 |
<h5>${_('Permissions |
|
142 | <h5>${_('Global Permissions')}</h5> | |
143 | </div> |
|
143 | </div> | |
144 | ${h.form(url('users_group_perm', id=c.users_group.users_group_id), method='put')} |
|
144 | ${h.form(url('users_group_perm', id=c.users_group.users_group_id), method='put')} | |
145 | <div class="form"> |
|
145 | <div class="form"> |
@@ -34,7 +34,7 b'' | |||||
34 | <th class="left">${_('Group name')}</th> |
|
34 | <th class="left">${_('Group name')}</th> | |
35 | <th class="left">${_('Members')}</th> |
|
35 | <th class="left">${_('Members')}</th> | |
36 | <th class="left">${_('Active')}</th> |
|
36 | <th class="left">${_('Active')}</th> | |
37 | <th class="left">${_('Action')}</th> |
|
37 | <th class="left" colspan="2">${_('Action')}</th> | |
38 | </tr> |
|
38 | </tr> | |
39 | %for cnt,u_group in enumerate(c.users_groups_list): |
|
39 | %for cnt,u_group in enumerate(c.users_groups_list): | |
40 | <tr class="parity${cnt%2}"> |
|
40 | <tr class="parity${cnt%2}"> | |
@@ -42,6 +42,11 b'' | |||||
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> |
|
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 | <td>${h.boolicon(u_group.users_group_active)}</td> |
|
43 | <td>${h.boolicon(u_group.users_group_active)}</td> | |
44 | <td> |
|
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 | ${h.form(url('users_group', id=u_group.users_group_id),method='delete')} |
|
50 | ${h.form(url('users_group', id=u_group.users_group_id),method='delete')} | |
46 | ${h.submit('remove_',_('delete'),id="remove_group_%s" % u_group.users_group_id, |
|
51 | ${h.submit('remove_',_('delete'),id="remove_group_%s" % u_group.users_group_id, | |
47 | class_="delete_icon action_button",onclick="return confirm('"+_('Confirm to delete this user group: %s') % u_group.users_group_name+"');")} |
|
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