Changeset 590:ed4485d2748e in documentViewer for zpt/viewer_image.zpt
- Timestamp:
- Nov 16, 2012, 10:44:21 AM (11 years ago)
- Branch:
- default
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
zpt/viewer_image.zpt
r585 r590 4 4 tal:define="docinfo options/docinfo; pageinfo options/pageinfo; viewMode pageinfo/viewMode; 5 5 viewLayer pageinfo/viewLayer; viewLayers pageinfo/viewLayers; 6 availableLayers python:here.getAvailableLayers().get('image s', None);6 availableLayers python:here.getAvailableLayers().get('image', None); 7 7 tocMode pageinfo/tocMode; viewerUrl docinfo/viewerUrl; 8 8 numPages docinfo/numPages | nothing; dlBaseUrl docinfo/digilibBaseUrl | nothing;"> … … 32 32 <!-- layer headers (rendered always) --> 33 33 <tal:block tal:repeat="layer availableLayers"> 34 <tal:block tal:define="mpath string:here/template/layer_image s_${layer}/macros/html_head" tal:condition="python:exists(mpath)">34 <tal:block tal:define="mpath string:here/template/layer_image_${layer}/macros/html_head" tal:condition="python:exists(mpath)"> 35 35 <metal:block metal:use-macro="python:path(mpath)" /> 36 36 </tal:block> … … 71 71 <metal:block metal:use-macro="here/template/common_template/macros/page_ruler" /> 72 72 </div> 73 <div class="content image s">73 <div class="content image"> 74 74 <div id="scaler"> 75 75 <img tal:attributes="src string:${docinfo/imageURL}&pn=${pageinfo/pn}&dw=500&dh=500" /> … … 90 90 <!-- layer select buttons (rendered always) --> 91 91 <tal:block tal:repeat="layer availableLayers"> 92 <tal:block tal:define="mpath string:here/template/layer_image s_${layer}/macros/layer_select_li"92 <tal:block tal:define="mpath string:here/template/layer_image_${layer}/macros/layer_select_li" 93 93 tal:condition="python:exists(mpath)"> 94 94 <li metal:use-macro="python:path(mpath)" /> … … 138 138 <!-- layer option boxes (rendered if active) --> 139 139 <tal:block tal:repeat="layer availableLayers"> 140 <tal:block tal:define="mpath string:here/template/layer_image s_${layer}/macros/options_box"140 <tal:block tal:define="mpath string:here/template/layer_image_${layer}/macros/options_box" 141 141 tal:condition="python:exists(mpath)"> 142 142 <metal:block metal:use-macro="python:path(mpath)" />
Note: See TracChangeset
for help on using the changeset viewer.