comparison zpt/toc_thumbs.zpt @ 523:acdbd82114bb

fixed bug with original page numbers at the end of thumbnail list.
author root@tuxserve01.mpiwg-berlin.mpg.de
date Thu, 05 Apr 2012 14:50:00 +0200
parents 7d7b639d7be7
children 3f375a048402
comparison
equal deleted inserted replaced
519:9a3cc3732194 523:acdbd82114bb
59 tal:attributes="href python:here.getLink('pn',idx)"> 59 tal:attributes="href python:here.getLink('pn',idx)">
60 <img 60 <img
61 tal:attributes="src python:test(docinfo['imageURL'],here.getScalerUrl(pn=idx,dw=100,dh=100,docinfo=docinfo),'images/pic'); 61 tal:attributes="src python:test(docinfo['imageURL'],here.getScalerUrl(pn=idx,dw=100,dh=100,docinfo=docinfo),'images/pic');
62 alt idx" /><br/> 62 alt idx" /><br/>
63 <span title="Scan number" tal:content="idx"/> 63 <span title="Scan number" tal:content="idx"/>
64 <span tal:condition="python:pageNumbers and pageNumbers[idx]['no']" title="Original page number" tal:content="python:' (%s)'%(pageNumbers[idx]['no'])"/> 64 <span tal:condition="python:pageNumbers and pageNumbers.get(idx, False) and pageNumbers[idx]['no']" title="Original page number" tal:content="python:' (%s)'%(pageNumbers[idx]['no'])"/>
65 </a> 65 </a>
66 </td> 66 </td>
67 </tr> 67 </tr>
68 </table> 68 </table>
69 </div> <!-- content --> 69 </div> <!-- content -->