Files
@ c78de39f30fc
Branch filter:
Location: kallithea/rhodecode/templates/admin/users_groups/users_groups.html - annotation
c78de39f30fc
2.0 KiB
text/html
summary: redirect from repo URLs with #branchname to changelog with this branch
This implements partial support for the Mercurial syntax for specifying
revisions so https://secure.rhodecode.org/rhodecode/#beta works both for
pulling with Mercurial and browsing.
This uses javascript, and has a bit of extra support for onhashchange in HTML5 browsers.
This implements partial support for the Mercurial syntax for specifying
revisions so https://secure.rhodecode.org/rhodecode/#beta works both for
pulling with Mercurial and browsing.
This uses javascript, and has a bit of extra support for onhashchange in HTML5 browsers.
83d35d716a02 83d35d716a02 83d35d716a02 83d35d716a02 1f334a68d057 83d35d716a02 83d35d716a02 83d35d716a02 f74be3359044 f74be3359044 ec6354949623 83d35d716a02 83d35d716a02 83d35d716a02 83d35d716a02 83d35d716a02 83d35d716a02 83d35d716a02 83d35d716a02 83d35d716a02 83d35d716a02 83d35d716a02 83d35d716a02 83d35d716a02 663f4f26776a 83d35d716a02 f91d3f9b7230 f91d3f9b7230 83d35d716a02 83d35d716a02 83d35d716a02 83d35d716a02 83d35d716a02 ec6354949623 ec6354949623 ec6354949623 ec6354949623 83d35d716a02 83d35d716a02 83d35d716a02 fff21c9b075c f467c75544af 32cb8d45f330 83d35d716a02 fff21c9b075c f6d57d055d1e 5f1850e4712a 83d35d716a02 83d35d716a02 83d35d716a02 83d35d716a02 83d35d716a02 83d35d716a02 83d35d716a02 83d35d716a02 | ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('User groups administration')} · ${c.rhodecode_name}
</%def>
<%def name="breadcrumbs_links()">
${h.link_to(_('Admin'),h.url('admin_home'))}
»
${_('User groups')}
</%def>
<%def name="page_nav()">
${self.menu('admin')}
</%def>
<%def name="main()">
<div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
<ul class="links">
<li>
<span>${h.link_to(_(u'Add new user group'),h.url('new_users_group'))}</span>
</li>
</ul>
</div>
<!-- end box / title -->
<div class="table">
<table class="table_disp">
<tr class="header">
<th class="left">${_('Group name')}</th>
<th class="left">${_('Members')}</th>
<th class="left">${_('Active')}</th>
<th class="left">${_('Action')}</th>
</tr>
%for cnt,u_group in enumerate(c.users_groups_list):
<tr class="parity${cnt%2}">
<td>${h.link_to(u_group.users_group_name,h.url('edit_users_group', id=u_group.users_group_id))}</td>
<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>
${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+"');")}
${h.end_form()}
</td>
</tr>
%endfor
</table>
</div>
</div>
</%def>
|