Mercurial > p > roundup > code
diff templates/classic/html/user.index.html @ 3120:ac1803a09920 maint-0.8
far more merging from HEAD than is good
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 28 Jan 2005 04:10:22 +0000 |
| parents | 3551fbf8cf29 |
| children | 021b131bd816 |
line wrap: on
line diff
--- a/templates/classic/html/user.index.html Thu Jan 27 06:51:16 2005 +0000 +++ b/templates/classic/html/user.index.html Fri Jan 28 04:10:22 2005 +0000 @@ -18,7 +18,8 @@ <th i18n:translate="">Phone number</th> <th tal:condition="context/is_edit_ok" i18n:translate="">Retire</th> </tr> -<tr tal:repeat="user context/list" +<tal:block repeat="user context/list"> +<tr tal:condition="user/is_view_ok" tal:attributes="class python:['normal', 'alt'][repeat['user'].index%6/3]"> <td> <a tal:attributes="href string:user${user/id}" @@ -33,6 +34,7 @@ i18n:translate="">retire</a> </td> </tr> +</tal:block> </table> </td>
