Mercurial > kallithea
comparison rhodecode/templates/admin/users/users.html @ 712:131c1e335fa7 beta
Added ldap info on admin users, added bool2icon helper for nicer representation of
True/False values. Fixed lock open icon to be more readable
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 18 Nov 2010 03:05:29 +0100 |
parents | a1ec653f5f95 |
children | e002951ba66d |
comparison
equal
deleted
inserted
replaced
711:cda88b3eb09c | 712:131c1e335fa7 |
---|---|
33 <th class="left">${_('username')}</th> | 33 <th class="left">${_('username')}</th> |
34 <th class="left">${_('name')}</th> | 34 <th class="left">${_('name')}</th> |
35 <th class="left">${_('lastname')}</th> | 35 <th class="left">${_('lastname')}</th> |
36 <th class="left">${_('active')}</th> | 36 <th class="left">${_('active')}</th> |
37 <th class="left">${_('admin')}</th> | 37 <th class="left">${_('admin')}</th> |
38 <th class="left">${_('ldap')}</th> | |
38 <th class="left">${_('action')}</th> | 39 <th class="left">${_('action')}</th> |
39 </tr> | 40 </tr> |
40 %for cnt,user in enumerate(c.users_list): | 41 %for cnt,user in enumerate(c.users_list): |
41 %if user.name !='default': | 42 %if user.name !='default': |
42 <tr class="parity${cnt%2}"> | 43 <tr class="parity${cnt%2}"> |
43 <td><div class="gravatar"><img alt="gravatar" src="${h.gravatar_url(user.email,24)}"> </div></td> | 44 <td><div class="gravatar"><img alt="gravatar" src="${h.gravatar_url(user.email,24)}"> </div></td> |
44 <td>${h.link_to(user.username,h.url('edit_user', id=user.user_id))}</td> | 45 <td>${h.link_to(user.username,h.url('edit_user', id=user.user_id))}</td> |
45 <td>${user.name}</td> | 46 <td>${user.name}</td> |
46 <td>${user.lastname}</td> | 47 <td>${user.lastname}</td> |
47 <td>${user.active}</td> | 48 <td>${h.bool2icon(user.active)}</td> |
48 <td>${user.admin}</td> | 49 <td>${h.bool2icon(user.admin)}</td> |
50 <td>${h.bool2icon(user.is_ldap)}</td> | |
49 <td> | 51 <td> |
50 ${h.form(url('user', id=user.user_id),method='delete')} | 52 ${h.form(url('user', id=user.user_id),method='delete')} |
51 ${h.submit('remove','delete',class_="delete_icon action_button")} | 53 ${h.submit('remove','delete',class_="delete_icon action_button")} |
52 ${h.end_form()} | 54 ${h.end_form()} |
53 </td> | 55 </td> |