diff templates/classic/html/file.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 c2908812624a
children a2889d22db4a
line wrap: on
line diff
--- a/templates/classic/html/file.index.html	Thu Jan 27 06:51:16 2005 +0000
+++ b/templates/classic/html/file.index.html	Fri Jan 28 04:10:22 2005 +0000
@@ -12,7 +12,9 @@
     <th style="padding-right: 10" i18n:translate="">Uploaded By</th>
     <th style="padding-right: 10" i18n:translate="">Date</th>
 </tr>
-<tr tal:repeat="file context/list">
+ <tal:block repeat="file context/list">
+ <tr tal:condition="file/is_view_ok"
+     tal:attributes="class python:['normal', 'alt'][repeat['file'].index%6/3]">
  <td>
   <a tal:attributes="href string:file${file/id}/${file/name}"
      tal:content="file/name">dld link</a>
@@ -20,7 +22,8 @@
  <td tal:content="file/type">content type</td>
  <td tal:content="file/creator">creator's name</td>
  <td tal:content="file/creation">creation date</td>
-</tr>
+ </tr>
+ </tal:block>
 </table>
 
 </td>

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