<html>
<h2>Versioned File - <span tal:content="here/title"/></h2>
<p><a tal:attributes="href python:here.REQUEST['URL2']">Back to the Folder</a></p>
<p><a tal:attributes="href python:here.REQUEST['URL1']+'/showDiffsForm'">Show Diffs</a></p>
<p><a target="_blank" tal:attributes="href python:here.REQUEST['URL2']+'/acl_users/manage_main'">add a new User</a></p>
<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>
<h3 tal:condition="python:here.lockedBy==''"><a tal:attributes="href python:here.REQUEST['URL1']+'/addExternalVersionedFileObjectForm'">Upload New Version</a></h3>
<h4><em>Download and lock</em> will lock the whole file not only the version!</h4>
<table width="100%" border=0 cellspacing=1 cellpadding=2>
<tr>
<th align=left bgcolor="#88ff88">File</th>
<th align=left bgcolor="#cccccc">
<a href="">Rev.</a>
</th>
<th align=left bgcolor="#cccccc">
<a href="">Date</a>
</th>
<th align=left bgcolor="#cccccc">
<a href="">Author</a>
</th>
<th align=left bgcolor="#cccccc">
<a href="">Log entry</a>
</th>
<th align=left bgcolor="#cccccc">
<a href="">Download</a>
</th>
<th align=left bgcolor="#cccccc">
<a href="">Downl. and Lock</a>
</th>
</tr>
<tr tal:repeat="version python:here.getVersions()">
<td tal:content="python:version[1].title"/>
<td tal:content="python:version[1].versionNumber"/>
<td tal:content="python:version[1].getTime()"/>
<td tal:content="python:version[1].lastEditor()"/>
<td tal:content="python:version[1].versionComment"/>
<td><a tal:attributes="href python:version[1].absolute_url()">download</a></td>
<td tal:condition="python:here.lockedBy==''"><a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[1].getId()+'/downloadLocked'">download and lock</a></td>
<td tal:condition="not:python:here.lockedBy==''"><a>locked</a></td>
</tr>
</table>
</html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>