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