##// END OF EJS Templates
merge 1.3 into stable
merge 1.3 into stable

File last commit:

r1888:f91d3f9b beta
r2031:82a88013 merge default
Show More
users_groups.html
53 lines | 1.9 KiB | text/html | HtmlLexer
started working on issue #56
r956 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('Users groups administration')} - ${c.rhodecode_name}
</%def>
<%def name="breadcrumbs_links()">
${h.link_to(_('Admin'),h.url('admin_home'))} &raquo; ${_('Users 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>
Augusto Herrmann
Added pt_BR localization, added i18n wrappers on some places missing, fixed css in settings screen for longer labels.
r1472 <span>${h.link_to(_(u'ADD NEW USER GROUP'),h.url('new_users_group'))}</span>
started working on issue #56
r956 </li>
White-space cleanup
r1888
</ul>
started working on issue #56
r956 </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}">
#56 fixed found bugs, implemented adding of new group + forms+validators...
r959 <td>${h.link_to(u_group.users_group_name,h.url('edit_users_group', id=u_group.users_group_id))}</td>
#56 fixed relationship query behavior to speed up fetching, and...
r974 <td><span class="tooltip" title="${', '.join([x.user.username for x in u_group.members[:50]])}">${len(u_group.members)}</span></td>
#56 fixed found bugs, implemented adding of new group + forms+validators...
r959 <td>${h.bool2icon(u_group.users_group_active)}</td>
started working on issue #56
r956 <td>
#56 fixed found bugs, implemented adding of new group + forms+validators...
r959 ${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,
more verbose removal messages
r1827 class_="delete_icon action_button",onclick="return confirm('"+_('Confirm to delete this users group: %s') % u_group.users_group_name+"');")}
started working on issue #56
r956 ${h.end_form()}
</td>
</tr>
%endfor
</table>
</div>
</div>
</%def>