Mercurial > kallithea
changeset 3716:355fcdd2c027 beta
use the same edit button in admin pages for user groups as in repos and repo groups
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 08 Apr 2013 23:57:14 +0200 |
parents | 25dbbdae3ed9 |
children | 6ff98871247a |
files | rhodecode/templates/admin/users_groups/users_group_edit.html rhodecode/templates/admin/users_groups/users_groups.html |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/templates/admin/users_groups/users_group_edit.html Mon Apr 08 23:49:08 2013 +0200 +++ b/rhodecode/templates/admin/users_groups/users_group_edit.html Mon Apr 08 23:57:14 2013 +0200 @@ -139,7 +139,7 @@ <div class="box box-right"> <!-- box / title --> <div class="title"> - <h5>${_('Permissions summary')}</h5> + <h5>${_('Global Permissions')}</h5> </div> ${h.form(url('users_group_perm', id=c.users_group.users_group_id), method='put')} <div class="form">
--- a/rhodecode/templates/admin/users_groups/users_groups.html Mon Apr 08 23:49:08 2013 +0200 +++ b/rhodecode/templates/admin/users_groups/users_groups.html Mon Apr 08 23:57:14 2013 +0200 @@ -34,7 +34,7 @@ <th class="left">${_('Group name')}</th> <th class="left">${_('Members')}</th> <th class="left">${_('Active')}</th> - <th class="left">${_('Action')}</th> + <th class="left" colspan="2">${_('Action')}</th> </tr> %for cnt,u_group in enumerate(c.users_groups_list): <tr class="parity${cnt%2}"> @@ -42,6 +42,11 @@ <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> <td>${h.boolicon(u_group.users_group_active)}</td> <td> + <a href="${h.url('edit_users_group', id=u_group.users_group_id)}" title="${_('Edit')}"> + ${h.submit('edit_%s' % u_group.users_group_name,_('edit'),class_="edit_icon action_button")} + </a> + </td> + <td> ${h.form(url('users_group', id=u_group.users_group_id),method='delete')} ${h.submit('remove_',_('delete'),id="remove_group_%s" % u_group.users_group_id, class_="delete_icon action_button",onclick="return confirm('"+_('Confirm to delete this user group: %s') % u_group.users_group_name+"');")}