##// END OF EJS Templates
pagination in pull-requests page + UI
pagination in pull-requests page + UI

File last commit:

r3654:ec635494 beta
r3676:9d2db665 beta
Show More
users_groups.html
55 lines | 2.0 KiB | text/html | HtmlLexer
started working on issue #56
r956 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
improved title consistency...
r3582 ${_('User groups administration')} &middot; ${c.rhodecode_name}
started working on issue #56
r956 </%def>
<%def name="breadcrumbs_links()">
unified breadcrumbs display
r3392 ${h.link_to(_('Admin'),h.url('admin_home'))}
&raquo;
Mads Kiilerich
Fix a lot of casings - use standard casing in most places
r3654 ${_('User groups')}
started working on issue #56
r956 </%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>
Mads Kiilerich
html: don't hardcode uppercase texts...
r3201 <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">
Mads Kiilerich
Fix a lot of casings - use standard casing in most places
r3654 <th class="left">${_('Group name')}</th>
<th class="left">${_('Members')}</th>
<th class="left">${_('Active')}</th>
<th class="left">${_('Action')}</th>
started working on issue #56
r956 </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>
Added h.tooltip to all places that tooltip_title is used....
r2427 <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>
Mads Kiilerich
helpers: show boolean value of value as icon, not just the True and False singletons
r3627 <td>${h.boolicon(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')}
Vincent Duvert
Improved i18n on changelog and user group administration pages.
r2312 ${h.submit('remove_',_('delete'),id="remove_group_%s" % u_group.users_group_id,
Mads Kiilerich
"Users groups" is grammatically incorrect English - rename to "user groups"...
r3410 class_="delete_icon action_button",onclick="return confirm('"+_('Confirm to delete this user group: %s') % u_group.users_group_name+"');")}
started working on issue #56
r956 ${h.end_form()}
</td>
</tr>
%endfor
</table>
</div>
</div>
</%def>