Mercurial > kallithea
comparison pylons_app/templates/admin/users/users.html @ 238:a55c17874486
Rewrite of user managment, improved forms, added some user info
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 30 May 2010 17:55:56 +0200 |
parents | d982ed8e32d8 |
children | 51362853ac3b |
comparison
equal
deleted
inserted
replaced
237:f188b156603d | 238:a55c17874486 |
---|---|
16 <%def name="main()"> | 16 <%def name="main()"> |
17 <div> | 17 <div> |
18 <h2>${_('Mercurial users')}</h2> | 18 <h2>${_('Mercurial users')}</h2> |
19 <table class="table_disp"> | 19 <table class="table_disp"> |
20 <tr class="header"> | 20 <tr class="header"> |
21 <td>${_('id')}</td> | |
22 <td>${_('username')}</td> | 21 <td>${_('username')}</td> |
22 <td>${_('name')}</td> | |
23 <td>${_('lastname')}</td> | |
23 <td>${_('active')}</td> | 24 <td>${_('active')}</td> |
24 <td>${_('admin')}</td> | 25 <td>${_('admin')}</td> |
25 <td>${_('action')}</td> | 26 <td>${_('action')}</td> |
26 </tr> | 27 </tr> |
27 %for user in c.users_list: | 28 %for user in c.users_list: |
28 <tr> | 29 <tr> |
29 <td>${user.user_id}</td> | |
30 <td>${h.link_to(user.username,h.url('edit_user', id=user.user_id))}</td> | 30 <td>${h.link_to(user.username,h.url('edit_user', id=user.user_id))}</td> |
31 <td>${user.name}</td> | |
32 <td>${user.lastname}</td> | |
31 <td>${user.active}</td> | 33 <td>${user.active}</td> |
32 <td>${user.admin}</td> | 34 <td>${user.admin}</td> |
33 <td> | 35 <td> |
34 ${h.form(url('user', id=user.user_id),method='delete')} | 36 ${h.form(url('user', id=user.user_id),method='delete')} |
35 ${h.submit('remove','delete',class_="delete_icon action_button")} | 37 ${h.submit('remove','delete',class_="delete_icon action_button")} |