Diff for /cdli/zpt/basketObject_index_html.zpt between versions 1.1 and 1.3

version 1.1, 2005/11/03 01:47:58 version 1.3, 2005/12/08 17:11:31
Line 11 Line 11
   <h2>CDLI File Storage</h2>    <h2>CDLI File Storage</h2>
   <p>Basket: <span tal:replace="here/getId"/> contains <span tal:replace="here/numberOfItems"/> items</p>    <p>Basket: <span tal:replace="here/getId"/> contains <span tal:replace="here/numberOfItems"/> items</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>    <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 54 Line 56
   <tal:x repeat="result batch">    <tal:x repeat="result batch">
    <tr tal:define="version result;lastVersion python:version.getLastVersion()">     <tr tal:define="version result;lastVersion python:version.getLastVersion()">
     <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.title" tal:attributes="href python:lastVersion.absolute_url()+'/view'"/></td>             <a tal:content="python:version.title" tal:attributes="href python:here.getObjUrl(lastVersion.getId())+'/view'"/></td>
     <td>      <td>
     <span tal:replace="lastVersion/getVersionNumber"/>      <span tal:replace="lastVersion/getVersionNumber"/>
     <font size="-1"><a tal:attributes="href python:here.REQUEST['URL1']+'/'+version.title+'/history'">(history)</a></font>      <font size="-1"><a tal:attributes="href python:here.getObjUrl(version.getId())+'/history'">(history)</a></font>
     </td>      </td>
     <td tal:content="lastVersion/getTime"/>      <td tal:content="lastVersion/getTime"/>
     <td tal:content="lastVersion/lastEditor"/>      <td tal:content="lastVersion/lastEditor"/>
     <td tal:content="lastVersion/getVersionComment"/>      <td tal:content="lastVersion/getVersionComment"/>
         <td><a tal:attributes="href python:lastVersion.absolute_url()+'/manageVCommentForm'"><small tal:content="python:lastVersion.getVComment()"/></a></td>          <td><a tal:attributes="href python:here.getObjUrl(lastVersion.getId())+'/manageVCommentForm'"><small tal:content="python:lastVersion.getVComment()"/></a></td>
         <!--<td><a tal:attributes="href python:version.absolute_url()+'/manageCommentForm'"><small tal:content="python:version.getComment()"/></a></td>-->          <!--<td><a tal:attributes="href python:version.absolute_url()+'/manageCommentForm'"><small tal:content="python:version.getComment()"/></a></td>-->
     <td><a tal:attributes="href python:lastVersion.absolute_url()">download</a></td>      <td><a tal:attributes="href python:here.getObjUrl(lastVersion.getId())">download</a></td>
           
     <td tal:condition="python:lastVersion.lockedBy==''"><a tal:attributes="href python:here.REQUEST['URL1']+'/'+version.title+'/downloadLocked'">download and lock</a></td>      <td tal:condition="python:lastVersion.lockedBy==''"><a tal:attributes="href python:here.getObjUrl(version.getId())+'/downloadLocked'">download and lock</a></td>
     <td tal:condition="not:python:lastVersion.lockedBy==''"><a>locked</a></td>      <td tal:condition="not:python:lastVersion.lockedBy==''"><a>locked</a></td>
           
     <td tal:condition="python:lastVersion.lockedBy==''"><a tal:attributes="href python:here.REQUEST['URL1']+'/'+version.title+'/addVersionedFileObjectForm'">Upload New Version</a></td>      <td tal:condition="python:lastVersion.lockedBy==''"><a tal:attributes="href python:here.getObjUrl(version.getId())+'/'+version.title+'/addVersionedFileObjectForm'">Upload New Version</a></td>
     <td tal:condition="not:python:lastVersion.lockedBy==''">      <td tal:condition="not:python:lastVersion.lockedBy==''">
       <b tal:attributes="href python:here.REQUEST['URL1']+'/'+version.title+'/addVersionedFileObjectForm'">Locked by: <span tal:replace="lastVersion/lockedBy"/></b>&nbsp;<a tal:attributes="href python:here.REQUEST['URL1']+'/'+version.title+'/unlock'">unlock</a>        <b tal:attributes="href python:here.getObjUrl(version.getId())+'/addVersionedFileObjectForm'">Locked by: <span tal:replace="lastVersion/lockedBy"/></b>&nbsp;
         <a tal:attributes="href python:here.getObjUrl(version.getId())+'/unlock'">unlock</a>
     </td>      </td>
       </tr>        </tr>
   

Removed from v.1.1  
changed lines
  Added in v.1.3


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