comparison zpt/toc_thumbs.zpt @ 537:ad6f97fd3944

fixes closing tickets concerning tocs.
author casties
date Fri, 27 Jul 2012 17:09:59 +0200
parents 9009cf0b0532
children 37d122560028
comparison
equal deleted inserted replaced
536:abd36d4d97b8 537:ad6f97fd3944
16 pageNumbers docinfo/pageNumbers | nothing; 16 pageNumbers docinfo/pageNumbers | nothing;
17 left python:test(flowLtr,pageBatch['prevStart'],pageBatch['nextStart']); 17 left python:test(flowLtr,pageBatch['prevStart'],pageBatch['nextStart']);
18 right python:test(flowLtr,pageBatch['nextStart'],pageBatch['prevStart']);"> 18 right python:test(flowLtr,pageBatch['nextStart'],pageBatch['prevStart']);">
19 19
20 <div class="content"> 20 <div class="content">
21 <h4>List of thumbnails</h4>
21 <div class="ruler"> 22 <div class="ruler">
22 <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler_thumbs" /> 23 <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler_thumbs" />
23 </div> 24 </div>
24
25 <table class="thumbs"> 25 <table class="thumbs">
26 <tr tal:repeat="row pageBatch/pages"> 26 <tr tal:repeat="row pageBatch/pages">
27 <td tal:repeat="thumb row" tal:attributes="class python:here.getStyle(thumb['idx'],pn,'thumb')"><a 27 <td tal:repeat="thumb row" tal:attributes="class python:here.getStyle(thumb['idx'],pn,'thumb')"><a
28 tal:define="idx thumb/idx" tal:condition="idx" tal:attributes="href python:here.getLink('pn',idx)"> <img 28 tal:define="idx thumb/idx" tal:condition="idx" tal:attributes="href python:here.getLink('pn',idx)"> <img
29 tal:attributes="src python:test(docinfo['imageURL'],here.getScalerUrl(pn=idx,dw=100,dh=100,docinfo=docinfo),'images/pic'); 29 tal:attributes="src python:test(docinfo['imageURL'],here.getScalerUrl(pn=idx,dw=100,dh=100,docinfo=docinfo),'images/pic');