Changeset 535:510bae2b593b in documentViewer for zpt/viewer_index.zpt


Ignore:
Timestamp:
Jul 26, 2012, 5:32:31 PM (12 years ago)
Author:
casties
Branch:
default
Message:

more fixes, e.g. IE support. first version of index page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zpt/viewer_index.zpt

    r505 r535  
    1818    <!-- image -->
    1919    <a tal:define="tp docinfo/titlePage | nothing"
    20       tal:attributes="href python:context.getLink('viewMode','auto')"><img
     20      tal:attributes="href python:context.getLink(params={'viewMode':'auto','pn':tp})"><img
    2121      tal:condition="tp" border="0"
    2222      tal:attributes="src string:${docinfo/imageURL}&pn=$tp&dw=300&dh=500" /><img
    23       tal:condition="not:tp" border="0" src="images/oldbook.png" /></a>
     23      tal:condition="python:not tp and exists('here/template/book.png')" border="0" src="template/book.png" /></a>
    2424  </div>
    2525
Note: See TracChangeset for help on using the changeset viewer.