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

version 1.1, 2005/11/03 01:47:58 version 1.3, 2006/02/13 20:35:35
Line 58  selectButton=document.getElementById('se Line 58  selectButton=document.getElementById('se
   <tal:block tal:define="sortField python:here.REQUEST.get('sortField','title');    <tal:block tal:define="sortField python:here.REQUEST.get('sortField','title');
                         versions python:here.getVersionedFiles(sortField=sortField)">                          versions python:here.getVersionedFiles(sortField=sortField)">
                                                 
   <form id="addBasket" tal:condition="python:len(versions)>0"  action="basket/storeInBasketForm">    <form id="addBasket" tal:condition="python:len(versions)>0"  action="basketContainer/storeInBasket">
     <input name="submit" type="submit" value="store in active basket">
     <input name="submit" type="submit" value="store in new basket"><input name="newBasketName">
   <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">
Line 107  selectButton=document.getElementById('se Line 108  selectButton=document.getElementById('se
     <td tal:condition="python:lastVersion.lockedBy==''"><a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[0]+'/downloadLocked'">download and lock</a></td>      <td tal:condition="python:lastVersion.lockedBy==''"><a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[0]+'/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[0]+'/addVersionedFileObjectForm'">Upload New Version</a></td>      <td tal:condition="python:lastVersion.lockedBy==''"><a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[0]+'/addCDLIFileObjectForm'">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[0]+'/addVersionedFileObjectForm'">Locked by: <span tal:replace="lastVersion/lockedBy"/></b>&nbsp;<a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[0]+'/unlock'">unlock</a>        <b tal:attributes="href python:here.REQUEST['URL1']+'/'+version[0]+'/addCDLIFileObjectForm'">Locked by: <span tal:replace="lastVersion/lockedBy"/></b>&nbsp;<a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[0]+'/unlock'">unlock</a>
     </td>      </td>
       <td>
        <a tal:repeat="collection python:version[1].isContainedInBaskets()" tal:content="collection/title"
        tal:attributes="href python:collection.getLastVersion().absolute_url()"/>  </td>
       </tr>        </tr>
     </span>      </span>
    </table>     </table>
    <input type="submit" value="store in basket">  
    </form>     </form>
    </tal:block>     </tal:block>
    </tal:block>     </tal:block>

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


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