Diff for /cdli/zpt/BasketVersionMain.zpt between versions 1.2 and 1.6

version 1.2, 2006/02/13 20:35:35 version 1.6, 2006/05/05 08:13:36
Line 7 Line 7
                     previous python:batch.previous;                      previous python:batch.previous;
                     next python:batch.next">                      next python:batch.next">
   
       <h2>Basket: <span tal:replace="python:here.aq_parent.title"/></h2>
   <h2>CDLI File Storage</h2>    <p>contains <span tal:replace="here/numberOfItems"/> items
   <p>Basket: <span tal:replace="python:here.aq_parent.title"/> contains <span tal:replace="here/numberOfItems"/> items</p>    <a tal:attributes="href python:here.aq_parent.absolute_url()+'/history'">View history</a>
     </p>
   <p><a tal:attributes="href python:here.getId()+'/downloadObjectsAsOneFile'"> download basket (combined in one file)</a>    <p><a tal:attributes="href python:here.getId()+'/downloadObjectsAsOneFile'"> download basket (combined in one file)</a>
  <p><a tal:attributes="href python:here.getId()+'/downloadObjectsAsOneFile?lock=yes'"> download basket and lock (combined in one file)</a>   <p><a tal:attributes="href python:here.getId()+'/downloadObjectsAsOneFile?lock=yes'"> download basket and lock all files(combined in one file)</a>
     <p><a tal:attributes="href python:here.basketContainer.absolute_url()+'/uploadBasket_html'"> upload a basket </a>
    <p>red = basket refers to a not actual version</p>
    <p>red and DEL = file has been deleted</p>
   <p>    <p>
     <a tal:condition="previous"      <a tal:condition="previous"
        tal:attributes="href string:${request/URL0}?start:int=${previous/first}"         tal:attributes="href string:${request/URL0}?start:int=${previous/first}"
Line 21 Line 24
        tal:attributes="href string:${request/URL0}?start:int=${next/first}"         tal:attributes="href string:${request/URL0}?start:int=${next/first}"
        href="next_url">next <span tal:replace="next/length">20</span> results</a>         href="next_url">next <span tal:replace="next/length">20</span> results</a>
   </p>    </p>
  <form action="basket/deleteObjects">   <form action="deleteObjects">
  <table  width="100%" border=0 cellspacing=1 cellpadding=2>   <table  width="100%" border=0 cellspacing=1 cellpadding=2>
     <tr>      <tr>
       <th align=left bgcolor="#88ff88">        <th align=left bgcolor="#cccccc">
       <a href="?sortField=title"> File</a>        <a href="?sortField=title"> File</a>
       </th>        </th>
       <th align=left bgcolor="#00">        <th align=left bgcolor="#cccccc">
     <a>Rev.</a>        <a> Designation</a>
         </th>
         
         <th align=left bgcolor="#cccccc">
       <a>Revisions</a>
       </th>        </th>
       <th align=left bgcolor="#cccccc">        <th align=left bgcolor="#cccccc">
     <a href="?sortField=date">Date</a>      <a href="?sortField=date">Date</a>
Line 51 Line 58
       <th align=left bgcolor="#cccccc">        <th align=left bgcolor="#cccccc">
     <a>Upload</a>      <a>Upload</a>
       </th>        </th>
         <th>
         C
         </th>
     </tr>      </tr>
                 
   <tal:x repeat="result batch">    <tal:x repeat="result batch">
    <tal:x tal:define="version python:here.getFile(result);lastVersion python:here.getFileLastVersion(result)">     <tal:x tal:define="version python:here.getFile(result);lastVersion python:here.getFileLastVersion(result);actual python:here.isActual(result)">
     <tr tal:attributes="class python:test(here.isActual(result),'actual','old')">      <tr tal:attributes="class python:test(actual[0],'actual','old')">
     <td><input type="checkbox" tal:attributes="value version/getId" name="ids">      <td><input type="checkbox" tal:attributes="value version/getId" name="ids">
            <a tal:content="python:version.getTitle()" tal:attributes="href python:here.getObjUrl(result)+          <tal:x condition="python:actual[1]==-1">DEL</tal:x>   <a tal:content="python:version.getTitle()" tal:attributes="href python:here.getObjUrl(result)+
            '/'+lastVersion.getId()+'/view'"/></td>             '/'+lastVersion.getId()+'/view'"/>
       </td>
       <td>
              <span tal:content="lastVersion/getDesignation"/>
        </td>
     <td>      <td>
     <span tal:replace="lastVersion/getVersionNumber"/>      <span tal:replace="lastVersion/getVersionNumber"/>
     <font size="-1"><a tal:attributes="href python:here.getObjUrl(result)+'/history'">(history)</a></font>      <font size="-1"><a tal:attributes="href python:here.getObjUrl(result)+'/history'">(history)</a></font>
Line 78 Line 92
       <b tal:attributes="href python:here.getObjUrl(result)+'/addCDLIFileObjectForm'">Locked by: <span tal:replace="version/lockedBy"/></b>&nbsp;        <b tal:attributes="href python:here.getObjUrl(result)+'/addCDLIFileObjectForm'">Locked by: <span tal:replace="version/lockedBy"/></b>&nbsp;
       <a tal:attributes="href python:here.getObjUrl(result)+'/unlock'">unlock</a>        <a tal:attributes="href python:here.getObjUrl(result)+'/unlock'">unlock</a>
     </td>      </td>
       <td>
        <a tal:repeat="collection python:version.isContainedInBaskets(context=here)" tal:content="collection/title"
        tal:attributes="href python:collection.getLastVersion().absolute_url()"/>  </td>
    </tr>     </tr>
     </tal:x>      </tal:x>
   </tal:x>    </tal:x>

Removed from v.1.2  
changed lines
  Added in v.1.6


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