File:  [Repository] / versionedFile / zpt / versionHistory.zpt
Revision 1.6: download - view: text, annotated - select for diffs - revision graph
Mon Mar 21 08:12:46 2005 UTC (19 years, 3 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
new comments possibilities

    1: <html>
    2:   <h2>Versioned File - <span tal:content="here/title"/></h2>
    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>&nbsp;<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>
   13: <h4><em>Download and lock</em> will lock the whole file not only the version!</h4>
   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>
   29:       <th align=left bgcolor="#cccccc" width="80">
   30: 	<a href="?sortField=comment">Comment</a>
   31:       </th>
   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()">
   40: 	<td tal:content="python:version[1].title"/>
   41: 	<td tal:content="python:version[1].versionNumber"/>
   42: 	<td tal:content="python:version[1].getTime()"/>
   43: 	<td tal:content="python:version[1].lastEditor()"/>
   44: 	<td tal:content="python:version[1].versionComment"/>
   45: 	<td><a tal:attributes="href python:version[1].absolute_url()+'/manageVCommentForm'"><small tal:content="python:version[1].getVComment()"/></a></td>
   46: 	<td><a tal:attributes="href python:version[1].absolute_url()">download</a></td>
   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>
   49: 	
   50:       </tr>
   51:    </table>
   52: </html>

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