[Mpuls-commits] r5820 - base/trunk/mpulsweb/templates

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Thu Feb 16 16:03:43 CET 2012


Author: bricks
Date: 2012-02-16 16:03:42 +0100 (Thu, 16 Feb 2012)
New Revision: 5820

Modified:
   base/trunk/mpulsweb/templates/base.mako
Log:
Add possibility to define a printing style in the mpuls application

printlocal.css can now be used to add a mpuls application specific style for printing.


Modified: base/trunk/mpulsweb/templates/base.mako
===================================================================
--- base/trunk/mpulsweb/templates/base.mako	2012-02-16 15:00:28 UTC (rev 5819)
+++ base/trunk/mpulsweb/templates/base.mako	2012-02-16 15:03:42 UTC (rev 5820)
@@ -32,8 +32,12 @@
             type="text/css">
       <link href="${h.url_for('/styles/print.css')}" media="screen" 
             rel="stylesheet" type="text/css">
+      <link href="${h.url_for('/styles/printlocal.css')}" media="screen" 
+            rel="stylesheet" type="text/css">
       <link href="${h.url_for('/styles/print.css')}" media="print" 
             rel="stylesheet" type="text/css">
+      <link href="${h.url_for('/styles/printlocal.css')}" media="print" 
+            rel="stylesheet" type="text/css">
     % else:
       <link href="${h.url_for('/styles/all.css')}" media="all" rel="stylesheet"
             type="text/css">



More information about the Mpuls-commits mailing list