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