view templates/classic/html/file.index.html @ 1739:c3f0b552a55a

batch the (list) listings at 500 entries per page [SF#759906] Unfortunately, the doovy javascript falls over when the next/prev links are used, so I've added some simple checking to remove that stuff when we're paging through the results (the simple test fails if you page back to the first page, but it'll do for now)
author Richard Jones <richard@users.sourceforge.net>
date Tue, 12 Aug 2003 02:10:12 +0000
parents 21312a7564fd
children 3a4abf6d48c2
line wrap: on
line source

<!-- dollarId: file.index,v 1.4 2002/01/23 05:10:27 richard Exp dollar-->
<tal:block metal:use-macro="templates/page/macros/icing">
<title metal:fill-slot="head_title"> 
 <span tal:replace="config/TRACKER_NAME" />: List of files
</title> 
<td class="page-header-top" metal:fill-slot="body_title">
 <h2>List of files</h2>
</td>
<td class="content" metal:fill-slot="content">

<table class="otherinfo">
<tr><th style="padding-right: 10">Download</th>
    <th style="padding-right: 10">Content Type</th>
    <th style="padding-right: 10">Uploaded By</th>
    <th style="padding-right: 10">Date</th>
</tr>
<tr tal:repeat="file context/list">
 <td>
  <a tal:attributes="href string:file${file/id}/${file/name}"
     tal:content="file/name">dld link</a>
 </td>
 <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>
</table>

</td>

</tal:block>

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