File:  [Repository] / cdli / zpt / BasketHistory.zpt
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Thu Feb 2 19:19:24 2006 UTC (18 years, 3 months ago) by dwinter
Branches: MAIN
CVS tags: zcat_only_1, Root_zcat_only_1, HEAD
baskets comletely rewritten now with versions.

<html metal:use-macro="here/main_template/macros/page">
  <tal:block metal:fill-slot="body">
  <h2>Basket - <span tal:content="here/title"/></h2>
  <table>
    <tr>
      <td>
	<a tal:attributes="href python:here.REQUEST['URL2']">Back to the Overview</a><br>
	<!--<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>
	<font size="+1" tal:condition="python:here.lockedBy==''"><a tal:attributes="href python:here.REQUEST['URL1']+'/addVersionedFileObjectForm'">Upload New Version</a></font>
	-->
    <font size="+1"><a tal:attributes="href python:here.REQUEST['URL1']+'/uploadBasket'">Upload New Version</a></font>
     </td>
    </tr>
  </table>
<!--<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" width="80">
	<a href="?sortField=comment">Comment</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><a tal:content="python:version[1].getId()" tal:attributes="href python:version[1].absolute_url()"/></td>
	<td tal:content="python:version[1].getTime()"/>
	<td tal:content="python:version[1].getUser()"/>
	<td tal:content="python:version[1].getComment()"/>
	<!--<td><a tal:attributes="href python:version[1].absolute_url()+'/manageVCommentForm'"><small tal:content="python:version[1].getComment()"/></a></td>-->
	<td><a tal:attributes="href python:version[1].absolute_url()+'/downloadObjectsAsOneFile'">download</a></td>
	<td><a tal:attributes="href python:version[1].absolute_url()+'/downloadObjectsAsOneFile?lock=yes'"> download with locking</a>
	<!--<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>
   </tal:block>
</html>

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