Annotation of versionedFile/zpt/versionHistory.zpt, revision 1.6
1.1 dwinter 1: <html>
2: <h2>Versioned File - <span tal:content="here/title"/></h2>
1.6 ! dwinter 3: <table>
! 4: <tr>
! 5: <td>
! 6: <a tal:attributes="href python:here.REQUEST['URL2']">Back to the Folder</a><br>
! 7: <a target="_blank" tal:attributes="href python:here.REQUEST['URL2']+'/acl_users/manage_main'">add a new User</a><br><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: </td>
! 11: </tr>
! 12: </table>
1.3 dwinter 13: <h4><em>Download and lock</em> will lock the whole file not only the version!</h4>
1.1 dwinter 14: <table width="100%" border=0 cellspacing=1 cellpadding=2>
15: <tr>
16: <th align=left bgcolor="#88ff88">File</th>
17: <th align=left bgcolor="#cccccc">
18: <a href="">Rev.</a>
19: </th>
20: <th align=left bgcolor="#cccccc">
21: <a href="">Date</a>
22: </th>
23: <th align=left bgcolor="#cccccc">
24: <a href="">Author</a>
25: </th>
26: <th align=left bgcolor="#cccccc">
27: <a href="">Log entry</a>
28: </th>
1.6 ! dwinter 29: <th align=left bgcolor="#cccccc" width="80">
! 30: <a href="?sortField=comment">Comment</a>
! 31: </th>
1.1 dwinter 32: <th align=left bgcolor="#cccccc">
33: <a href="">Download</a>
34: </th>
35: <th align=left bgcolor="#cccccc">
36: <a href="">Downl. and Lock</a>
37: </th>
38: </tr>
39: <tr tal:repeat="version python:here.getVersions()">
1.2 dwinter 40: <td tal:content="python:version[1].title"/>
1.1 dwinter 41: <td tal:content="python:version[1].versionNumber"/>
1.5 dwinter 42: <td tal:content="python:version[1].getTime()"/>
1.1 dwinter 43: <td tal:content="python:version[1].lastEditor()"/>
44: <td tal:content="python:version[1].versionComment"/>
1.6 ! dwinter 45: <td><a tal:attributes="href python:version[1].absolute_url()+'/manageVCommentForm'"><small tal:content="python:version[1].getVComment()"/></a></td>
1.4 dwinter 46: <td><a tal:attributes="href python:version[1].absolute_url()">download</a></td>
1.3 dwinter 47: <td tal:condition="python:here.lockedBy==''"><a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[1].getId()+'/downloadLocked'">download and lock</a></td>
48: <td tal:condition="not:python:here.lockedBy==''"><a>locked</a></td>
1.1 dwinter 49:
50: </tr>
51: </table>
52: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>