source: documentViewer/zpt/toc_text.zpt @ 429:ebe50e81710f

Last change on this file since 429:ebe50e81710f was 122:027134cca83e, checked in by casties, 14 years ago

reverting back to non-metal version for now

File size: 681 bytes
Line 
1<tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo; 
2  pn python:int(pageinfo['tocPN']); tocsize python:int(docinfo['tocSize_text']); grpsize python:int(pageinfo['tocPageSize']);
3  maxpn python:int(tocsize/grpsize);">
4  <div class="thumbruler">
5    <span tal:condition="python:(pn>1)">
6      <a tal:attributes="href python:here.getLink(param='tocPN',val=pn-1)">&lt;</a>
7    </span>
8    <span tal:content="string:$pn of $tocsize"/>
9    <span>
10    <a tal:attributes="href python:here.getLink(param='tocPN',val=pn+1)">&gt;</a>
11  </span>
12</div>
13  <div tal:content="structure python:here.getTocPage(mode='text',pageinfo=pageinfo,docinfo=docinfo)"/>
14</tal:block>
Note: See TracBrowser for help on using the repository browser.