##// END OF EJS Templates
translated users
marcink -
r221:0eedbbc5 default
parent child Browse files
Show More
@@ -1,42 +1,42 b''
1 1 ## -*- coding: utf-8 -*-
2 2 <%inherit file="/base/base.html"/>
3 3
4 4 <%def name="title()">
5 5 ${_('Users administration')}
6 6 </%def>
7 7 <%def name="breadcrumbs()">
8 8 ${h.link_to(u'Admin',h.url('admin_home'))}
9 9 /
10 10 </%def>
11 11 <%def name="page_nav()">
12 12 ${self.menu('admin')}
13 13 ${self.submenu('users')}
14 14 </%def>
15 15 <%def name="main()">
16 16 <div>
17 17 <h2>${_('Mercurial users')}</h2>
18 18 <table class="table_disp">
19 19 <tr class="header">
20 <td>ID</td>
21 <td>Username</td>
22 <td>Active</td>
23 <td>Admin</td>
24 <td>Action</td>
20 <td>${_('id')}</td>
21 <td>${_('username')}</td>
22 <td>${_('active')}</td>
23 <td>${_('admin')}</td>
24 <td>${_('action')}</td>
25 25 </tr>
26 26 %for user in c.users_list:
27 27 <tr>
28 28 <td>${user.user_id}</td>
29 29 <td>${h.link_to(user.username,h.url('edit_user', id=user.user_id))}</td>
30 30 <td>${user.active}</td>
31 31 <td>${user.admin}</td>
32 32 <td>
33 33 ${h.form(url('user', id=user.user_id),method='delete')}
34 34 ${h.submit('remove','delete',class_="delete_icon action_button")}
35 35 ${h.end_form()}
36 36 </td>
37 37 </tr>
38 38 %endfor
39 39 </table>
40 40 <span class="add_icon">${h.link_to(u'add user',h.url('new_user'))}</span>
41 41 </div>
42 42 </%def>
General Comments 0
You need to be logged in to leave comments. Login now