Mercurial > hg > documentViewer
comparison zpt/viewer/viewer_index.zpt @ 604:6e7bcc628a76
more better thumbnail on index page.
author | casties |
---|---|
date | Mon, 26 Nov 2012 14:30:33 +0100 |
parents | 8ed0317633f8 |
children | 530a9a024450 |
comparison
equal
deleted
inserted
replaced
603:8ed0317633f8 | 604:6e7bcc628a76 |
---|---|
43 <div class="col index-image"> | 43 <div class="col index-image"> |
44 <!-- image --> | 44 <!-- image --> |
45 <a tal:define="tp docinfo/titlePage | string:1" | 45 <a tal:define="tp docinfo/titlePage | string:1" |
46 tal:attributes="href python:context.getLink(params={'viewMode':'auto','pn':tp})"><img tal:condition="python:docinfo.get('imageURL',None) and tp" border="0" | 46 tal:attributes="href python:context.getLink(params={'viewMode':'auto','pn':tp})"><img tal:condition="python:docinfo.get('imageURL',None) and tp" border="0" |
47 tal:attributes="src python:'%s&pn=%s&dw=300&dh=500'%(docinfo.get('imageURL',None),tp)" /><img | 47 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" |
49 src="template/book.png" /></a> | 49 src="template/book.png" /></a> |
50 </div> | 50 </div> |
51 | 51 |
52 <div class="col main"> | 52 <div class="col main"> |
53 <!-- main content column --> | 53 <!-- main content column --> |