Mercurial > p > roundup > code
view roundup/templates/classic/html/user.index @ 1181:49aebf5a8691
some speedups, some fixes to the benchmarking
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 23 Sep 2002 00:50:32 +0000 |
| parents | 7e193bbda38e |
| children | b862bbf2067a |
line wrap: on
line source
<!-- dollarId: user.index,v 1.3 2002/07/09 05:29:51 richard Exp dollar--> <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> </tr> <tr tal:repeat="user context/list" tal:attributes="class python:['row-normal', 'row-alt'][repeat['user'].even()]"> <td> <a tal:attributes="href string:user${user/id}" tal:content="user/username">username</a> </td> <td tal:content="user/realname">realname</td> <td tal:content="user/organisation">organisation</td> <td tal:content="python:user.address.email()">address</td> <td tal:content="user/phone">phone</td> </tr> </table>
