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

version 1.5, 2006/08/24 09:28:29 version 1.8, 2009/08/31 14:06:43
Line 9 Line 9
   <tal:block tal:define="sortField python:here.REQUEST.get('sortField','date');    <tal:block tal:define="sortField python:here.REQUEST.get('sortField','date');
                         versions python:here.getBaskets(sortField=sortField)">                          versions python:here.getBaskets(sortField=sortField)">
                                                 
   <form id="addBasket" tal:condition="python:len(versions)>0"  action="basketContainer/manageBaskets">    <form id="addBasket" tal:condition="python:len(versions)>0"  action="manageBaskets">
   <p>    <p>
   <input type="submit" name="submit" value="delete" class="button"> <!--or <input type="submit" name="submit" value="duplicate">--> selected basket(s).    <input type="submit" name="submit" value="delete" class="button"> <!--or <input type="submit" name="submit" value="duplicate">--> selected basket(s).
   </p>    </p>
     <p>
     <input type="submit" name="submit" value="join" class="button"> <!--or <input type="submit" name="submit" value="duplicate">--> selected basket(s) into basket
     to basket <input type="text" name="joinBasket">.
     </p>
      <p>
     <input type="submit" name="submit" value="subtract" class="button"> 
       <select name="basket2">
           <option tal:repeat="version versions" tal:attributes="value python:version[0]" tal:content="python:here.unicodify(version[1].title)"/>
       </select>
       from
       <select name="basket1">
           <option tal:repeat="version versions" tal:attributes="value python:version[0]" tal:content="python:here.unicodify(version[1].title)"/>
       </select>
       and store in <input type="text" name="subtractBasket"> 
     </p>
   <table  width="100%" border=0 cellspacing=1 cellpadding=2 class="filelist">    <table  width="100%" border=0 cellspacing=1 cellpadding=2 class="filelist">
     <tr>      <tr>
           <th align=left bgcolor="#222222">active</th>            <th align=left bgcolor="#222222">active</th>
Line 64 Line 79
   
     <td tal:attributes="class python: active">      <td tal:attributes="class python: active">
     <input type="checkbox" tal:attributes="value python:version[1].getId()" name="ids">      <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()"/></td>      <a tal:content="python:here.unicodify(version[1].title)" tal:attributes="href python:lastVersion.absolute_url()"/></td>
     <td tal:attributes="class python: active">      <td tal:attributes="class python: active">
     <nobr><span tal:replace="lastVersion/getId"/>      <nobr><span tal:replace="lastVersion/getId"/>
     <a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[0]+'/history'">(history)</a></nobr>      <a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[0]+'/history'">(history)</a></nobr>

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


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