Diff for /cdli/zpt/viewCDLIFile.zpt between versions 1.11 and 1.12

version 1.11, 2008/01/21 17:19:01 version 1.12, 2008/10/29 12:10:05
Line 38 Line 38
                        files python:basket.getLastVersion().getContent();                         files python:basket.getLastVersion().getContent();
                        index python:dictVars['filenr'];">                         index python:dictVars['filenr'];">
                 <span tal:omit-tag="" tal:condition="python: int(index) > 0">                  <span tal:omit-tag="" tal:condition="python: int(index) > 0">
                     <a tal:define="file python:files[int(index)-1]" tal:attributes="href python:basket.getObjUrl(file) + '/' + basket.getFileLastVersion(file).getId() + '/view?fromBasket='+dictVars['fromBasket']+'&filenr='+str(int(index)-1)">previous file</a>&nbsp;&nbsp;&nbsp;&nbsp;                      <a tal:define="file python:files[int(index)-1]" tal:attributes="href python:basket.getObjUrl(file[0]) + '/' + basket.getFileObjectLastVersion(file[0]).getId() + '/view?fromBasket='+dictVars['fromBasket']+'&filenr='+str(int(index)-1)">previous file</a>&nbsp;&nbsp;&nbsp;&nbsp;
                 </span>                  </span>
                 <span tal:omit-tag="" tal:condition="python: int(index) < len(files)-1">                  <span tal:omit-tag="" tal:condition="python: int(index) < len(files)-1">
                     <a tal:define="file python:files[int(index)+1]" tal:attributes="href python:basket.getObjUrl(file) + '/' + basket.getFileLastVersion(file).getId() + '/view?fromBasket='+dictVars['fromBasket']+'&filenr='+str(int(index)+1)">next file</a>                      <a tal:define="file python:files[int(index)+1]" tal:attributes="href python:basket.getObjUrl(file[0]) + '/' + basket.getFileObjectLastVersion(file[0]).getId() + '/view?fromBasket='+dictVars['fromBasket']+'&filenr='+str(int(index)+1)">next file</a>
                 </span>                  </span>
                           
             </tal:block>              </tal:block>

Removed from v.1.11  
changed lines
  Added in v.1.12


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