view zpt/toc_text.zpt @ 128:4db49915d825 Root_modularisierung

Last lemma
author abukhman
date Fri, 11 Jun 2010 12:34:24 +0200
parents 027134cca83e
children 0a0f7f570f90
line wrap: on
line source

<tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo;  
  pn python:int(pageinfo['tocPN']); tocsize python:int(docinfo['tocSize_text']); grpsize python:int(pageinfo['tocPageSize']);
  maxpn python:int(tocsize/grpsize);">
  <div class="thumbruler">
    <span tal:condition="python:(pn>1)">
      <a tal:attributes="href python:here.getLink(param='tocPN',val=pn-1)">&lt;</a>
    </span>
    <span tal:content="string:$pn of $tocsize"/>
    <span>
    <a tal:attributes="href python:here.getLink(param='tocPN',val=pn+1)">&gt;</a>
  </span>
</div>
  <div tal:content="structure python:here.getTocPage(mode='text',pageinfo=pageinfo,docinfo=docinfo)"/>
</tal:block>