Mercurial > p > roundup > code
view roundup/templates/classic/html/user.index @ 1113:a95428868bf4
Added the missing keyword/topic interface to classic template (blush)
Cleaned up the classhelp API
Fixed some stuff in the customisation doc example.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 11 Sep 2002 02:49:56 +0000 |
| parents | cf30c6cdca02 |
| children | 7e193bbda38e |
line wrap: on
line source
<!-- dollarId: user.index,v 1.3 2002/07/09 05:29:51 richard Exp dollar--> <table width="100%" border=0 cellspacing=0 cellpadding=2 class="list"> <tr class="list-header"> <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 valign="top"> <a tal:attributes="href string:user${user/id}" tal:content="user/username">username</a> </td> <td valign="top" tal:content="user/realname">realname</td> <td valign="top" tal:content="user/organisation">organisation</td> <td valign="top" tal:content="python:user.address.email()">address</td> <td valign="top" tal:content="user/phone">phone</td> </tr> </table>
