Changeset 526:3f375a048402 in documentViewer for zpt/toc_none.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_none.zpt

    r491 r526  
    88  <!-- block used for main content area -->
    99  <div class="toc-none" metal:define-macro="main">
    10     <ul class="switcher">
    11       <li>
    12         <a tal:attributes="href python:here.getLink('tocMode','thumbs')">Thumbnails</a>
    13       </li>
    14       <li tal:condition="python:docpath and docinfo.get('numTocEntries', None)">
    15         <a tal:attributes="href python:here.getLink('tocMode','text')">Content</a>
    16       </li>
    17       <li tal:condition="python:docpath and docinfo.get('numFigureEntries', None)">
    18         <a tal:attributes="href python:here.getLink('tocMode','figures')">Figures</a>
    19       </li>
    20       <li class="sel">
    21         <a tal:attributes="href python:here.getLink('tocMode','none')">None</a>
    22       </li>
    23     </ul>
     10    <div metal:use-macro="here/template/common_template/macros/toc_switcher"/>
    2411    <div class="content"></div>
    2512  </div>
Note: See TracChangeset for help on using the changeset viewer.