Changeset 31:c6451e8d5d23 in documentViewer for zpt


Ignore:
Timestamp:
Apr 10, 2006, 7:51:50 PM (18 years ago)
Author:
casties
Branch:
default
Message:

more small fixes - now version 0.2.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zpt/viewer_main.zpt

    r27 r31  
    33<link rel="stylesheet" href="template/docuviewer_css" type="text/css">
    44</head>
    5 <body tal:define="docinfo options/docinfo; pageinfo options/pageinfo">
     5<body tal:define="docinfo options/docinfo; pageinfo options/pageinfo" tal:condition="docinfo/numPages">
    66<div tal:replace="structure python:here.template.head_main(docinfo=docinfo)"/>
    77<table border="0" width="100%" height="100%">
     
    1616</table>
    1717</body>
     18<body tal:define="docinfo options/docinfo; pageinfo options/pageinfo" tal:condition="not:docinfo/numPages">
     19<div class="errortext">Sorry, document doesn't exist.</div>
     20</body>
    1821</html>
Note: See TracChangeset for help on using the changeset viewer.