Code

30312c2f670921f3fe27d43b1f7ecd6bf8b3a2a2
[roundup.git] / roundup / templates / minimal / html / user.index
1 <!-- dollarId: user.index,v 1.3 2002/07/09 05:29:51 richard Exp dollar-->
2 <tal:block metal:use-macro="templates/page/macros/icing">
3 <title metal:fill-slot="head_title">User listing</title>
4 <td class="page-header-top" metal:fill-slot="body_title">
5  <h2>User listing</h2>
6 </td>
7 <td class="content" metal:fill-slot="content">
9 <span tal:condition="not:context/is_view_ok">
10 You are not allowed to view this page.
11 </span>
13 <table width="100%" tal:condition="context/is_view_ok" class="list">
14 <tr>
15  <th>Username</th>
16  <th>Email address</th>
17 </tr>
18 <tr tal:repeat="user context/list"
19     tal:attributes="class python:['normal', 'alt'][repeat['user'].index%6/3]">
20  <td>
21   <a tal:attributes="href string:user${user/id}"
22      tal:content="user/username">username</a>
23  </td>
24  <td tal:content="python:user.address.email()">address</td>
25 </tr>
26 </table>
27 </td>
29 </tal:block>