Mercurial > p > roundup > code
view templates/classic/html/user.index.html @ 1730:2dd6b4c825e9
Final touches to fix query editing. It should work now.
| author | Johannes Gijsbers <jlgijsbers@users.sourceforge.net> |
|---|---|
| date | Sun, 10 Aug 2003 10:30:56 +0000 |
| parents | 126d4d0ac89b |
| children | f5c804379c85 |
line wrap: on
line source
<!-- dollarId: user.index,v 1.3 2002/07/09 05:29:51 richard Exp dollar--> <tal:block metal:use-macro="templates/page/macros/icing"> <title metal:fill-slot="head_title">User listing</title> <td class="page-header-top" metal:fill-slot="body_title"> <h2>User listing</h2> </td> <td class="content" metal:fill-slot="content"> <span tal:condition="not:context/is_view_ok"> You are not allowed to view this page. </span> <table width="100%" tal:condition="context/is_view_ok" class="list"> <tr> <th>Username</th> <th>Real name</th> <th>Organisation</th> <th>Email address</th> <th>Phone number</th> <th tal:condition="context/is_edit_ok">Retire</th> </tr> <tr tal:repeat="user context/list" tal:attributes="class python:['normal', 'alt'][repeat['user'].index%6/3]"> <td> <a tal:attributes="href string:user${user/id}" tal:content="user/username">username</a> </td> <td tal:content="python:user.realname.plain() or default"> </td> <td tal:content="python:user.organisation.plain() or default"> </td> <td tal:content="python:user.address.email() or default"> </td> <td tal:content="python:user.phone.plain() or default"> </td> <td tal:condition="context/is_edit_ok"> <a tal:attributes="href string:user${user/id}?:action=retire&:template=index"> retire</a> </td> </tr> </table> </td> </tal:block>
