##// END OF EJS Templates
Rewrite simehg for enabling cloning with raw url for anonymous access + some optimizations for making less queries when authenticating users....
Rewrite simehg for enabling cloning with raw url for anonymous access + some optimizations for making less queries when authenticating users. added debug to test hg operations

File last commit:

r739:554ed649 beta
r910:811fa5d4 beta
Show More
users.html
63 lines | 2.1 KiB | text/html | HtmlLexer
renamed project to rhodecode
r547 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
#38 updated RhodeCode titles
r619 ${_('Users administration')} - ${c.rhodecode_name}
renamed project to rhodecode
r547 </%def>
<%def name="breadcrumbs_links()">
${h.link_to(_('Admin'),h.url('admin_home'))} &raquo; ${_('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>
fixed bug when autocomplete could not display names (hidden by div)...
r581 <span>${h.link_to(u'ADD NEW USER',h.url('new_user'))}</span>
renamed project to rhodecode
r547 </li>
</ul>
</div>
<!-- end box / title -->
<div class="table">
<table class="table_disp">
<tr class="header">
<th></th>
<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>
Added ldap info on admin users, added bool2icon helper for nicer representation of...
r712 <th class="left">${_('ldap')}</th>
renamed project to rhodecode
r547 <th class="left">${_('action')}</th>
</tr>
%for cnt,user in enumerate(c.users_list):
%if user.name !='default':
<tr class="parity${cnt%2}">
html w3c fixes
r714 <td><div class="gravatar"><img alt="gravatar" src="${h.gravatar_url(user.email,24)}"/> </div></td>
renamed project to rhodecode
r547 <td>${h.link_to(user.username,h.url('edit_user', id=user.user_id))}</td>
<td>${user.name}</td>
<td>${user.lastname}</td>
Added ldap info on admin users, added bool2icon helper for nicer representation of...
r712 <td>${h.bool2icon(user.active)}</td>
<td>${h.bool2icon(user.admin)}</td>
<td>${h.bool2icon(user.is_ldap)}</td>
renamed project to rhodecode
r547 <td>
${h.form(url('user', id=user.user_id),method='delete')}
fixes #76 added confirmation dialog for user removal....
r739 ${h.submit('remove_','delete',id="remove_user_%s" % user.user_id,
class_="delete_icon action_button",onclick="return confirm('Confirm to delete this user');")}
renamed project to rhodecode
r547 ${h.end_form()}
</td>
</tr>
%endif
%endfor
</table>
</div>
</div>
</%def>