Mercurial > hg > documentViewer
diff 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 |
line wrap: on
line diff
--- a/zpt/toc_thumbs.zpt Thu Apr 05 19:29:50 2012 +0200 +++ b/zpt/toc_thumbs.zpt Tue Apr 10 19:41:44 2012 +0200 @@ -14,20 +14,7 @@ pageNumbers docinfo/pageNumbers | nothing; left python:test(flowLtr,pageBatch['prevStart'],pageBatch['nextStart']); right python:test(flowLtr,pageBatch['nextStart'],pageBatch['prevStart']);"> - <ul class="toctype"> - <li class="sel"> - <a tal:attributes="href python:here.getLink('tocMode','thumbs')">Thumbnails</a> - </li> - <li tal:condition="python:docinfo.get('numTocEntries', None)"> - <a tal:attributes="href python:here.getLink('tocMode','text')">Content</a> - </li> - <li tal:condition="python:docinfo.get('numFigureEntries', None)"> - <a tal:attributes="href python:here.getLink('tocMode','figures')">Figures</a> - </li> - <li> - <a tal:attributes="href python:here.getLink('tocMode','none')">None</a> - </li> - </ul> + <div metal:use-macro="here/template/common_template/macros/toc_switcher"/> <div class="content"> <div class="ruler">