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

version 1.6, 2006/05/05 08:13:36 version 1.8, 2006/07/14 19:08:30
Line 14 Line 14
   <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><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 = basket refers not to the actual version</p>
  <p>red and DEL = file has been deleted</p>   <p>red and DEL = file has been deleted</p>
   <p>    <p>
     <a tal:condition="previous"      <a tal:condition="previous"
Line 24 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="deleteObjects">    <span tal:content="here/containsNonActualFiles"/>
    <form action="changeBasket">
  <table  width="100%" border=0 cellspacing=1 cellpadding=2>   <table  width="100%" border=0 cellspacing=1 cellpadding=2>
     <tr>      <tr>
       <th align=left bgcolor="#cccccc">        <th align=left bgcolor="#cccccc">
Line 70 Line 71
         <tal:x condition="python:actual[1]==-1">DEL</tal:x>   <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'"/>             '/'+lastVersion.getId()+'/view'"/>
     </td>      </td>
     <td>      <td tal:condition="python:hasattr(lastVersion,'getDesignation')">
            <span tal:content="lastVersion/getDesignation"/>             <span tal:content="lastVersion/getDesignation"/>
      </td>       </td>
         <td tal:condition="not:python:hasattr(lastVersion,'getDesignation')">
              <span tal:content="python:'error'"/>
        </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 87 Line 91
     <td tal:condition="python:version.lockedBy==''"><a tal:attributes="href python:here.getObjUrl(result)+'/downloadLocked'">download and lock</a></td>      <td tal:condition="python:version.lockedBy==''"><a tal:attributes="href python:here.getObjUrl(result)+'/downloadLocked'">download and lock</a></td>
     <td tal:condition="not:python:version.lockedBy==''"><a>locked</a></td>      <td tal:condition="not:python:version.lockedBy==''"><a>locked</a></td>
           
     <td tal:condition="python:version.lockedBy==''"><a tal:attributes="href python:here.getObjUrl(result)+'/'+version.title+'/addCDLIFileObjectForm'">Upload New Version</a></td>      <td tal:condition="python:version.lockedBy==''"><a tal:attributes="href python:here.getObjUrl(result)+'/'+version.title+'/addCDLIFileObjectForm?come_from='+here.URLquote(here.absolute_url())">Upload New Version</a></td>
     <td tal:condition="not:python:version.lockedBy==''">      <td tal:condition="not:python:version.lockedBy==''">
       <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>
Line 108 Line 112
        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>
 <input type="submit" value="delete from basket">  <input type="submit" name="submit" value="update"> or
   <input type="submit" name="submit" value="delete">
   selected files
 </tal:block>  </tal:block>
 </html>  </html>
   

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


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