Mercurial > hg > documentViewer
comparison zpt/toc_thumbs.zpt @ 526:3f375a048402
moved search and dict into separate layers.
removed search_template.
added tocMode=concordance.
fixed bug with paging tocs.
author | casties |
---|---|
date | Tue, 10 Apr 2012 19:41:44 +0200 |
parents | acdbd82114bb |
children | f8a5f63eafc0 |
comparison
equal
deleted
inserted
replaced
525:70c3ae5eac7c | 526:3f375a048402 |
---|---|
12 numgroups pageinfo/numgroups; | 12 numgroups pageinfo/numgroups; |
13 pageBatch pageinfo/pageBatch; pageZero pageinfo/pageZero; | 13 pageBatch pageinfo/pageBatch; pageZero pageinfo/pageZero; |
14 pageNumbers docinfo/pageNumbers | nothing; | 14 pageNumbers docinfo/pageNumbers | nothing; |
15 left python:test(flowLtr,pageBatch['prevStart'],pageBatch['nextStart']); | 15 left python:test(flowLtr,pageBatch['prevStart'],pageBatch['nextStart']); |
16 right python:test(flowLtr,pageBatch['nextStart'],pageBatch['prevStart']);"> | 16 right python:test(flowLtr,pageBatch['nextStart'],pageBatch['prevStart']);"> |
17 <ul class="toctype"> | 17 <div metal:use-macro="here/template/common_template/macros/toc_switcher"/> |
18 <li class="sel"> | |
19 <a tal:attributes="href python:here.getLink('tocMode','thumbs')">Thumbnails</a> | |
20 </li> | |
21 <li tal:condition="python:docinfo.get('numTocEntries', None)"> | |
22 <a tal:attributes="href python:here.getLink('tocMode','text')">Content</a> | |
23 </li> | |
24 <li tal:condition="python:docinfo.get('numFigureEntries', None)"> | |
25 <a tal:attributes="href python:here.getLink('tocMode','figures')">Figures</a> | |
26 </li> | |
27 <li> | |
28 <a tal:attributes="href python:here.getLink('tocMode','none')">None</a> | |
29 </li> | |
30 </ul> | |
31 | 18 |
32 <div class="content"> | 19 <div class="content"> |
33 <div class="ruler"> | 20 <div class="ruler"> |
34 <form class="autosubmit" tal:attributes="action viewerUrl"> | 21 <form class="autosubmit" tal:attributes="action viewerUrl"> |
35 <input type="hidden" tal:define="params python:here.getParams('start',None)" | 22 <input type="hidden" tal:define="params python:here.getParams('start',None)" |