view templates/minimal/html/user.index.html @ 1836:94e430ad4fdb

make the RDBMS common backend and the SQLite and MYsql backend create... ...and drop indexes for the basic columns - index multilinks, index id and retired columns of all class tables.
author Anthony Baxter <anthonybaxter@users.sourceforge.net>
date Tue, 07 Oct 2003 07:17:54 +0000
parents 21312a7564fd
children 3a4abf6d48c2
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>Email address</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.address.email()">address</td>
</tr>
</table>
</td>

</tal:block>

Roundup Issue Tracker: http://roundup-tracker.org/