Changeset 526:3f375a048402 in documentViewer for zpt/common_template.zpt
- Timestamp:
- Apr 10, 2012, 5:41:44 PM (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zpt/common_template.zpt
r511 r526 67 67 </metal:block> 68 68 69 <!-- toc type switcher --> 70 <metal:block metal:define-macro="toc_switcher"> 71 <ul class="switcher"> 72 <li tal:attributes="class python:test(tocMode=='thumbs', 'sel', None)"><a 73 tal:attributes="href python:here.getLink('tocMode','thumbs')">Thumbnails</a> 74 </li> 75 <li tal:attributes="class python:test(tocMode=='text', 'sel', None)" 76 tal:condition="python:docpath and docinfo.get('numTocEntries', None)"> 77 <a tal:attributes="href python:here.getLink('tocMode','text')">Content</a> 78 </li> 79 <li tal:attributes="class python:test(tocMode=='figures', 'sel', None)" 80 tal:condition="python:docpath and docinfo.get('numFigureEntries', None)"> 81 <a 82 tal:attributes="href python:here.getLink('tocMode','figures')">Figures</a> 83 </li> 84 <li tal:attributes="class python:test(tocMode=='concordance', 'sel', None)" 85 tal:condition="python:docpath and docinfo.get('pageNumbers', None)"> 86 <a 87 tal:attributes="href python:here.getLink('tocMode','concordance')">Concordance</a> 88 </li> 89 <li tal:attributes="class python:test(tocMode=='none', 'sel', None)"><a 90 tal:attributes="href python:here.getLink('tocMode','none')">None</a> 91 </li> 92 </ul> 93 </metal:block> 94 69 95 </body> 70 96 </html>
Note: See TracChangeset
for help on using the changeset viewer.