1: <html metal:use-macro="here/main_template/macros/page">
2: <tal:block metal:fill-slot="body">
3: <h2>Basket - <span tal:content="here/title"/></h2>
4: <table>
5: <tr>
6: <td>
7: <a tal:attributes="href python:here.REQUEST['URL2']">Back to the Overview</a><br>
8: <!--<font size="+1" tal:condition="not:python:here.lockedBy==''"><a>No upload possible: File is locked by <span tal:replace="python:here.lockedBy"/></a> <a tal:attributes="href python:here.REQUEST['URL1']+'/unlock'">unlock</a></font>
9: <font size="+1" tal:condition="python:here.lockedBy==''"><a tal:attributes="href python:here.REQUEST['URL1']+'/addVersionedFileObjectForm'">Upload New Version</a></font>
10: -->
11: <font size="+1"><a tal:attributes="href python:here.REQUEST['URL1']+'/uploadBasket'">Upload New Version</a></font>
12: </td>
13: </tr>
14: </table>
15: <!--<h4><em>Download and lock</em> will lock the whole file not only the version!</h4>-->
16: <table width="100%" border=0 cellspacing=1 cellpadding=2>
17: <tr>
18: <!--<th align=left bgcolor="#88ff88">File</th>-->
19: <th align=left bgcolor="#cccccc">
20: <a href="">Rev.</a>
21: </th>
22: <th align=left bgcolor="#cccccc">
23: <a href="">Date</a>
24: </th>
25: <th align=left bgcolor="#cccccc">
26: <a href="">Author</a>
27: </th>
28: <th align=left bgcolor="#cccccc">
29: <a href="">Log entry</a>
30: </th>
31: <!--<th align=left bgcolor="#cccccc" width="80">
32: <a href="?sortField=comment">Comment</a>
33: </th>-->
34: <th align=left bgcolor="#cccccc">
35: <a href="">Download</a>
36: </th>
37: <th align=left bgcolor="#cccccc">
38: <a href="">Downl. and Lock</a>
39: </th>
40: </tr>
41: <tr tal:repeat="version python:here.getVersions()">
42: <!--<td tal:content="python:version[1].title"/>-->
43: <td><a tal:content="python:version[1].getId()" tal:attributes="href python:version[1].absolute_url()"/></td>
44: <td tal:content="python:version[1].getTime()"/>
45: <td tal:content="python:version[1].getUser()"/>
46: <td tal:content="python:version[1].getComment()"/>
47: <!--<td><a tal:attributes="href python:version[1].absolute_url()+'/manageVCommentForm'"><small tal:content="python:version[1].getComment()"/></a></td>-->
48: <td><a tal:attributes="href python:version[1].absolute_url()+'/downloadObjectsAsOneFile'">download</a></td>
49: <td><a tal:attributes="href python:version[1].absolute_url()+'/downloadObjectsAsOneFile?lock=yes'"> download with locking</a>
50: <!--<td tal:condition="python:here.lockedBy==''"><a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[1].getId()+'/downloadLocked'">download and lock</a></td>
51: <td tal:condition="not:python:here.lockedBy==''"><a>locked</a></td>
52: -->
53: </tr>
54: </table>
55: </tal:block>
56: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>