Diff for /cdli/zpt/BasketVersionMain.zpt between versions 1.4 and 1.5

version 1.4, 2006/02/28 15:17:52 version 1.5, 2006/03/19 03:27:21
Line 13 Line 13
   </p>    </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 all files(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 22 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="#88ff88">
       <a href="?sortField=title"> File</a>        <a href="?sortField=title"> File</a>
       </th>        </th>
         <th align=left bgcolor="#88ff88">
         <a> Designation</a>
         </th>
         
       <th align=left bgcolor="#00">        <th align=left bgcolor="#00">
     <a>Rev.</a>      <a>Rev.</a>
       </th>        </th>
Line 58 Line 64
     </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>

Removed from v.1.4  
changed lines
  Added in v.1.5


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