Files
@ e9a6783f5502
Branch filter:
Location: kallithea/pylons_app/templates/admin/users/users.html - annotation
e9a6783f5502
1.8 KiB
text/html
fixed user permissions bug when adding permissions to user who couldn load those because of auth decorators
Small fix for hg model and injecting dbrepo into cached repos
Small fix for hg model and injecting dbrepo into cached repos
c8162373f214 20dc7a5eb748 c8162373f214 20dc7a5eb748 c8162373f214 20dc7a5eb748 558eb7c5028f 558eb7c5028f 558eb7c5028f 20dc7a5eb748 558eb7c5028f 20dc7a5eb748 11e8eb5a92e3 20dc7a5eb748 558eb7c5028f 20dc7a5eb748 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 64e1125fc479 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 20dc7a5eb748 a55c17874486 a55c17874486 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 20dc7a5eb748 558eb7c5028f 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 558eb7c5028f c8162373f214 | ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('Users administration')}
</%def>
<%def name="breadcrumbs_links()">
${h.link_to(_('Admin'),h.url('admin_home'))} » ${_('Users')}
</%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',h.url('new_user'),class_="add_icon")}</span>
</li>
</ul>
</div>
<!-- end box / title -->
<div class="table">
<table class="table_disp">
<tr class="header">
<th class="left">${_('username')}</th>
<th class="left">${_('name')}</th>
<th class="left">${_('lastname')}</th>
<th class="left">${_('active')}</th>
<th class="left">${_('admin')}</th>
<th class="left">${_('action')}</th>
</tr>
%for cnt,user in enumerate(c.users_list):
%if user.name !='default':
<tr class="parity${cnt%2}">
<td>${h.link_to(user.username,h.url('edit_user', id=user.user_id))}</td>
<td>${user.name}</td>
<td>${user.lastname}</td>
<td>${user.active}</td>
<td>${user.admin}</td>
<td>
${h.form(url('user', id=user.user_id),method='delete')}
${h.submit('remove','delete',class_="delete_icon action_button")}
${h.end_form()}
</td>
</tr>
%endif
%endfor
</table>
</div>
</div>
</%def>
|