Mercurial > hg > documentViewer
changeset 563:8f2dab2d2d2a
new toc thumb replacement.
author | casties |
---|---|
date | Mon, 08 Oct 2012 12:36:11 +0200 |
parents | 60f5a636bc57 |
children | 31f562fa7214 |
files | zpt/toc_thumbs.zpt |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/zpt/toc_thumbs.zpt Tue Oct 02 15:22:11 2012 +0200 +++ b/zpt/toc_thumbs.zpt Mon Oct 08 12:36:11 2012 +0200 @@ -26,8 +26,8 @@ <tr tal:repeat="row pageBatch/pages"> <td tal:repeat="thumb row" tal:attributes="class python:here.getStyle(thumb['idx'],pn,'thumb')"><a tal:define="idx thumb/idx" tal:condition="idx" tal:attributes="href python:here.getLink('pn',idx)"> <img - tal:attributes="src python:test(docinfo.get('imageURL',None),here.getScalerUrl(pn=idx,dw=100,dh=100,docinfo=docinfo),'images/pic'); - alt idx" /><br /> + tal:attributes="src python:test(docinfo.get('imageURL',None),here.getScalerUrl(pn=idx,dw=100,dh=100,docinfo=docinfo),'template/text.png'); + alt idx;" /><br /> <span tal:attributes="title string:Scan number $idx" tal:content="idx" /> <span tal:condition="python:pageNumbers and pageNumbers.get(idx, False) and pageNumbers[idx]['no']" tal:attributes="title python:'Original page number %s'%(pageNumbers[idx]['no'])" tal:content="python:' (%s)'%(pageNumbers[idx]['no'])" />