Diff for /cdli/zpt/CDLIFileFolderMain.zpt between versions 1.5 and 1.8

version 1.5, 2006/02/28 15:17:52 version 1.8, 2006/05/05 08:13:36
Line 11 Line 11
     </td>      </td>
   </tr>    </tr>
 </table>  </table>
 </tal:x>  
   
   </tal:x>
    <tal:x condition="python:here.REQUEST.get('uploaded',None)">
    <table width="100%" bgcolor="%FF0000">
    <tr class="old">
       <td>New version of <span tal:replace="python:here.REQUEST.get('uploaded',None)"/> added</td>
    </tr>
    </table>
    </tal:x>
   <span tal:replace="structure here/header_html"/>    <span tal:replace="structure here/header_html"/>
   <a tal:condition="here/hasParent"     <a tal:condition="here/hasParent" 
   tal:attributes="href python:here.aq_parent.absolute_url()"    tal:attributes="href python:here.aq_parent.absolute_url()"
Line 29 Line 36
   </table>    </table>
   <hr>    <hr>
   </tal:block>    </tal:block>
   
 <form>  <form>
   <script type="text/javascript">    <script type="text/javascript">
 <!--   <!-- 
Line 78  selectButton=document.getElementById('se Line 86  selectButton=document.getElementById('se
       
   <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 113  selectButton=document.getElementById('se Line 124  selectButton=document.getElementById('se
       <tr tal:define="lastVersion python:version[1].getLastVersion()">        <tr tal:define="lastVersion python:version[1].getLastVersion()">
     <td><input type="checkbox" tal:attributes="value python:version[1].getId()" name="ids"><a tal:content="python:version[1].title" tal:attributes="href python:lastVersion.absolute_url()+'/view'"/></td>      <td><input type="checkbox" tal:attributes="value python:version[1].getId()" name="ids"><a tal:content="python:version[1].title" tal:attributes="href python:lastVersion.absolute_url()+'/view'"/></td>
     <td>      <td>
              <span tal:content="lastVersion/getDesignation|python:'ERROR'"/>
       </td>
       <td>
     <span tal:replace="lastVersion/versionNumber"/>      <span tal:replace="lastVersion/versionNumber"/>
     <font size="-1"><a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[0]+'/history'">(history)</a></font>      <font size="-1"><a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[0]+'/history'">(history)</a></font>
     </td>      </td>
Line 133  selectButton=document.getElementById('se Line 147  selectButton=document.getElementById('se
     <td>      <td>
      <a tal:repeat="collection python:version[1].isContainedInBaskets(context=here)" tal:content="collection/title"       <a tal:repeat="collection python:version[1].isContainedInBaskets(context=here)" tal:content="collection/title"
      tal:attributes="href python:collection.getLastVersion().absolute_url()"/>  </td>       tal:attributes="href python:collection.getLastVersion().absolute_url()"/>  </td>
     
         <td>
          <a tal:attributes="href python:here.absolute_url()+'/delete?ids='+version[0]">del</a>
         </td>
       </tr>        </tr>
     </span>      </span>
    </table>     </table>

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


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