Changeset 526:3f375a048402 in documentViewer for zpt/toc_thumbs.zpt


Ignore:
Timestamp:
Apr 10, 2012, 5:41:44 PM (12 years ago)
Author:
casties
Branch:
default
Message:

moved search and dict into separate layers.
removed search_template.
added tocMode=concordance.
fixed bug with paging tocs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zpt/toc_thumbs.zpt

    r523 r526  
    1515                left python:test(flowLtr,pageBatch['prevStart'],pageBatch['nextStart']);
    1616                right python:test(flowLtr,pageBatch['nextStart'],pageBatch['prevStart']);">
    17     <ul class="toctype">
    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>
     17    <div metal:use-macro="here/template/common_template/macros/toc_switcher"/>
    3118
    3219    <div class="content">
Note: See TracChangeset for help on using the changeset viewer.