Premiere version : mise en route du suivi.
[auf_roundup.git] / share / roundup / templates / minimal / html / .svn / text-base / user.index.html.svn-base
CommitLineData
c638d827
CR
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" i18n:translate="">User listing - <span
4 i18n:name="tracker" tal:replace="config/TRACKER_NAME" /></title>
5<span metal:fill-slot="body_title" tal:omit-tag="python:1"
6 i18n:translate="">User listing</span>
7<td class="content" metal:fill-slot="content">
8
9<span tal:condition="python:not (context.is_view_ok()
10 or request.user.hasRole('Anonymous'))"
11 i18n:translate="">You are not allowed to view this page.</span>
12
13<span tal:condition="python:not context.is_view_ok()
14 and request.user.hasRole('Anonymous')"
15 i18n:translate="">Please login with your username and password.</span>
16
17<table width="100%" tal:condition="context/is_view_ok" class="list">
18<tr>
19 <th i18n:translate="">Username</th>
20 <th i18n:translate="">Email address</th>
21</tr>
22<tal:block repeat="user context/list">
23 <tr tal:condition="user/is_view_ok"
24 tal:attributes="class python:['normal', 'alt'][repeat['user'].index%6/3]">
25 <td>
26 <a tal:attributes="href string:user${user/id}"
27 tal:content="user/username">username</a>
28 </td>
29 <td tal:content="python:user.address.email()">address</td>
30 </tr>
31</tal:block>
32</table>
33</td>
34
35</tal:block>