diff zpt/viewer_xml.zpt @ 543:6cdc31e9ed8e

fixed problem with dict-mode in default view. added configurable footer and logo in site_template.pt
author casties
date Wed, 22 Aug 2012 16:25:38 +0200
parents 4b43a57ad9b3
children
line wrap: on
line diff
--- a/zpt/viewer_xml.zpt	Tue Aug 21 13:28:35 2012 +0200
+++ b/zpt/viewer_xml.zpt	Wed Aug 22 16:25:38 2012 +0200
@@ -82,9 +82,17 @@
       <div class="errortext">Sorry, access to this document is restricted.</div>
     </div>
 
+    <tal:block tal:condition="exists:here/template/site_template.pt/macros/footer">
+      <!-- footer -->
+      <metal:block metal:use-macro="here/template/site_template.pt/macros/footer"/>
+    </tal:block>
   </tal:block>
 </body>
 <body tal:condition="not:numPages">
   <div class="errortext">Sorry, document doesn't exist.</div>
+  <tal:block tal:condition="exists:here/template/site_template.pt/macros/footer">
+    <!-- footer -->
+    <metal:block metal:use-macro="here/template/site_template.pt/macros/footer"/>
+  </tal:block>
 </body>
 </html>