Changeset 584:011905457a5f in documentViewer


Ignore:
Timestamp:
Nov 12, 2012, 5:13:33 PM (12 years ago)
Author:
casties
Branch:
default
Message:

new viewmode=indexonly as coverpage for pdf-generation.

Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • documentViewer.py

    r581 r584  
    134134    viewer_index = PageTemplateFile('zpt/viewer_index', globals())
    135135    viewer_thumbs = PageTemplateFile('zpt/viewer_thumbs', globals())
     136    viewer_indexonly = PageTemplateFile('zpt/viewer_indexonly', globals())
    136137    # available layer types (annotator not default)
    137138    builtinLayers = {'text': ['dict','search','gis'],
  • zpt/common_template.zpt

    r577 r584  
    2525      </div>
    2626      <div class="title" tal:condition="formattedLabel" tal:content="structure formattedLabel" />
    27       <ul class="view-switcher">
     27      <ul class="view-switcher" metal:define-slot="view-switcher">
    2828        <li tal:condition="docpath" tal:attributes="class python:here.getStyle(viewMode, 'text')"><a
    2929          tal:omit-tag="python:viewMode=='text'" tal:attributes="href python:here.getLink('viewMode','text')">Text</a></li>
Note: See TracChangeset for help on using the changeset viewer.