Changeset 563:8f2dab2d2d2a in documentViewer for zpt


Ignore:
Timestamp:
Oct 8, 2012, 10:36:11 AM (12 years ago)
Author:
casties
Branch:
default
Message:

new toc thumb replacement.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zpt/toc_thumbs.zpt

    r562 r563  
    2727            <td tal:repeat="thumb row" tal:attributes="class python:here.getStyle(thumb['idx'],pn,'thumb')"><a
    2828              tal:define="idx thumb/idx" tal:condition="idx" tal:attributes="href python:here.getLink('pn',idx)"> <img
    29                 tal:attributes="src python:test(docinfo.get('imageURL',None),here.getScalerUrl(pn=idx,dw=100,dh=100,docinfo=docinfo),'images/pic');
    30                                 alt idx" /><br />
     29                tal:attributes="src python:test(docinfo.get('imageURL',None),here.getScalerUrl(pn=idx,dw=100,dh=100,docinfo=docinfo),'template/text.png');
     30                                alt idx;" /><br />
    3131                <span tal:attributes="title string:Scan number $idx" tal:content="idx" /> <span
    3232                tal:condition="python:pageNumbers and pageNumbers.get(idx, False) and pageNumbers[idx]['no']"
Note: See TracChangeset for help on using the changeset viewer.