File:  [Repository] / versionedFile / zpt / versionHistory.zpt
Revision 1.3: download - view: text, annotated - select for diffs - revision graph
Thu Jul 8 15:55:27 2004 UTC (20 years ago) by dwinter
Branches: MAIN
CVS tags: HEAD
locking texts changed and content-type for download added

    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 target="_blank" tal:attributes="href python:here.REQUEST['URL2']+'/acl_users/manage_main'">add a new User</a></p>
    6: 
    7: 
    8:   <h3 tal:condition="not:python:here.lockedBy==''"><a>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>
    9: <h3 tal:condition="python:here.lockedBy==''"><a tal:attributes="href python:here.REQUEST['URL1']+'/addVersionedFileObjectForm'">Upload New Version</a></h3>
   10: <h4><em>Download and lock</em> will lock the whole file not only the version!</h4>
   11:   <table  width="100%" border=0 cellspacing=1 cellpadding=2>
   12:     <tr>
   13:       <th align=left bgcolor="#88ff88">File</th>
   14:       <th align=left bgcolor="#cccccc">
   15: 	<a href="">Rev.</a>
   16:       </th>
   17:       <th align=left bgcolor="#cccccc">
   18: 	<a href="">Date</a>
   19:       </th>
   20:       <th align=left bgcolor="#cccccc">
   21: 	<a href="">Author</a>
   22:       </th>
   23:       <th align=left bgcolor="#cccccc">
   24: 	<a href="">Log entry</a>
   25:       </th>
   26:       <th align=left bgcolor="#cccccc">
   27: 	<a href="">Download</a>
   28:       </th>
   29:       <th align=left bgcolor="#cccccc">
   30: 	<a href="">Downl. and Lock</a>
   31:       </th>
   32:     </tr>
   33:     <tr tal:repeat="version python:here.getVersions()">
   34: 	<td tal:content="python:version[1].title"/>
   35: 	<td tal:content="python:version[1].versionNumber"/>
   36: 	<td tal:content="python:version[1].bobobase_modification_time()"/>
   37: 	<td tal:content="python:version[1].lastEditor()"/>
   38: 	<td tal:content="python:version[1].versionComment"/>
   39: 	<td><a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[1].getId()+'/download'">download</a></td>
   40: 	<td tal:condition="python:here.lockedBy==''"><a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[1].getId()+'/downloadLocked'">download and lock</a></td>
   41: 	<td tal:condition="not:python:here.lockedBy==''"><a>locked</a></td>
   42: 	
   43:       </tr>
   44:    </table>
   45: </html>

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