comparison templates/minimal/html/user.index.html @ 2430:e323c2d54a17

i18n markup
author Alexander Smishlajev <a1s@users.sourceforge.net>
date Wed, 09 Jun 2004 09:55:34 +0000
parents 3a4abf6d48c2
children f965504aa5d9
comparison
equal deleted inserted replaced
2429:e28a5d5d95a7 2430:e323c2d54a17
1 <!-- dollarId: user.index,v 1.3 2002/07/09 05:29:51 richard Exp dollar--> 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"> 2 <tal:block metal:use-macro="templates/page/macros/icing">
3 <title metal:fill-slot="head_title">User listing</title> 3 <title metal:fill-slot="head_title" i18n:translate="">User listing</title>
4 <span metal:fill-slot="body_title" tal:omit-tag="python:1">User listing</span> 4 <span metal:fill-slot="body_title" tal:omit-tag="python:1"
5 i18n:translate="">User listing</span>
5 <td class="content" metal:fill-slot="content"> 6 <td class="content" metal:fill-slot="content">
6 7
7 <span tal:condition="not:context/is_view_ok"> 8 <span tal:condition="not:context/is_view_ok"
8 You are not allowed to view this page. 9 i18n:translate="">You are not allowed to view this page.</span>
9 </span>
10 10
11 <table width="100%" tal:condition="context/is_view_ok" class="list"> 11 <table width="100%" tal:condition="context/is_view_ok" class="list">
12 <tr> 12 <tr>
13 <th>Username</th> 13 <th i18n:translate="">Username</th>
14 <th>Email address</th> 14 <th i18n:translate="">Email address</th>
15 </tr> 15 </tr>
16 <tr tal:repeat="user context/list" 16 <tr tal:repeat="user context/list"
17 tal:attributes="class python:['normal', 'alt'][repeat['user'].index%6/3]"> 17 tal:attributes="class python:['normal', 'alt'][repeat['user'].index%6/3]">
18 <td> 18 <td>
19 <a tal:attributes="href string:user${user/id}" 19 <a tal:attributes="href string:user${user/id}"

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