Mercurial > p > roundup > code
view roundup/templates/classic/html/user.index @ 1002:1798d2fa9fec
Hack hack...
. Lots of cleanup in the classic html (stylesheet, search page, index page, ...)
. Reinstated searching, but not query saving yet
. Filtering only allows sorting and grouping by one property - all backends
now implement this behaviour.
. Nosy list journalling turned off by default, everything else is on.
. Added some convenience methods (reverse, propchanged, [item] accesses, ...)
. Did I mention the stylesheet is much cleaner now? :)
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Sun, 01 Sep 2002 04:32:30 +0000 |
| parents | 5643abab70ed |
| children | cf30c6cdca02 |
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="u user/list" tal:attributes="class python:['row-normal', 'row-alt'][repeat['u'].even()]"> <td valign="top"> <a tal:attributes="href string:user${u/id}" tal:content="u/username">username</a> </td> <td valign="top" tal:content="u/realname">realname</td> <td valign="top" tal:content="u/organisation">organisation</td> <td valign="top" tal:content="python:u.address.email()">address</td> <td valign="top" tal:content="u/phone">phone</td> </tr> </table>
