Changeset 604:6e7bcc628a76 in documentViewer for zpt


Ignore:
Timestamp:
Nov 26, 2012, 1:30:33 PM (11 years ago)
Author:
casties
Branch:
default
Message:

more better thumbnail on index page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zpt/viewer/viewer_index.zpt

    r603 r604  
    4646        tal:attributes="href python:context.getLink(params={'viewMode':'auto','pn':tp})"><img tal:condition="python:docinfo.get('imageURL',None) and tp" border="0"
    4747        tal:attributes="src python:'%s&pn=%s&dw=300&dh=500'%(docinfo.get('imageURL',None),tp)" /><img
    48         tal:condition="python:not docinfo.get('titlePage',None) and exists('here/template/book.png')" border="0"
     48        tal:condition="python:(not docinfo.get('imageURL',None)) and exists('here/template/book.png')" border="0"
    4949        src="template/book.png" /></a>
    5050    </div>
Note: See TracChangeset for help on using the changeset viewer.