File:  [Repository] / versionedFile / zpt / versionHistory.zpt
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Mar 22 15:46:07 2004 UTC (20 years, 3 months ago) by dwinter
Branches: dwinter
CVS tags: first
new

<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 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 tal:attributes="href python:here.REQUEST['URL1']+'/addVersionedFileObjectForm'">No upload possible: File is locked by <span tal:replace="python:here.lockedBy"/></a>&nbsp;<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']+'/addVersionedFileObjectForm'">Upload New Version</a></h3>

  <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].aq_parent.title"/>
	<td tal:content="python:version[1].versionNumber"/>
	<td tal:content="python:version[1].bobobase_modification_time()"/>
	<td tal:content="python:version[1].lastEditor()"/>
	<td tal:content="python:version[1].versionComment"/>
	<td><a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[1].getId()">download</a></td>
	<td><a tal:attributes="href python:here.REQUEST['URL1']+'/downloadLocked'">download and lock</a></td>
	
	
      </tr>
   </table>
</html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>