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

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Fri Mar 2 14:48:33 CET 2012


Author: ludwig
Date: 2012-03-02 14:48:33 +0100 (Fri, 02 Mar 2012)
New Revision: 5847

Modified:
   base/trunk/mpulsweb/templates/base.mako
Log:
Issue 2738 Replace url_for with url in base.mako


Modified: base/trunk/mpulsweb/templates/base.mako
===================================================================
--- base/trunk/mpulsweb/templates/base.mako	2012-03-02 13:46:12 UTC (rev 5846)
+++ base/trunk/mpulsweb/templates/base.mako	2012-03-02 13:48:33 UTC (rev 5847)
@@ -26,52 +26,52 @@
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     <meta http-equiv="content-style-type" content="text/css">
     <meta http-equiv="expires" content="0">
-    <link rel="shortcut icon" type="image/x-icon" href="${h.url_for('/images/mpuls.ico')}">
+    <link rel="shortcut icon" type="image/x-icon" href="${h.url('/images/mpuls.ico')}">
     % if c.print_version:
-      <link href="${h.url_for('/styles/all.css')}" media="all" rel="stylesheet" 
+      <link href="${h.url('/styles/all.css')}" media="all" rel="stylesheet" 
             type="text/css">
-      <link href="${h.url_for('/styles/print.css')}" media="screen" 
+      <link href="${h.url('/styles/print.css')}" media="screen" 
             rel="stylesheet" type="text/css">
-      <link href="${h.url_for('/styles/printlocal.css')}" media="screen" 
+      <link href="${h.url('/styles/printlocal.css')}" media="screen" 
             rel="stylesheet" type="text/css">
-      <link href="${h.url_for('/styles/print.css')}" media="print" 
+      <link href="${h.url('/styles/print.css')}" media="print" 
             rel="stylesheet" type="text/css">
-      <link href="${h.url_for('/styles/printlocal.css')}" media="print" 
+      <link href="${h.url('/styles/printlocal.css')}" media="print" 
             rel="stylesheet" type="text/css">
     % else:
-      <link href="${h.url_for('/styles/all.css')}" media="all" rel="stylesheet"
+      <link href="${h.url('/styles/all.css')}" media="all" rel="stylesheet"
             type="text/css">
-      <link href="${h.url_for('/styles/screen.css')}" media="screen" 
+      <link href="${h.url('/styles/screen.css')}" media="screen" 
             rel="stylesheet" type="text/css">
-      <link href="${h.url_for('/styles/widgets.css')}" media="all" 
+      <link href="${h.url('/styles/widgets.css')}" media="all" 
             rel="stylesheet" type="text/css">
-      <link href="${h.url_for('/styles/print.css')}" media="print" 
+      <link href="${h.url('/styles/print.css')}" media="print" 
             rel="stylesheet" type="text/css">
-      <link href="${h.url_for('/styles/menu.css')}" media="screen" 
+      <link href="${h.url('/styles/menu.css')}" media="screen" 
             rel="stylesheet" type="text/css">
-      <link href="${h.url_for('/styles/local.css')}" media="all" rel="stylesheet"
+      <link href="${h.url('/styles/local.css')}" media="all" rel="stylesheet"
             type="text/css">
       <!--[if IE 6]>
         <script defer type="text/javascript" 
-                src="${h.url_for('/js/ie6-png.js')}"></script>
+                src="${h.url('/js/ie6-png.js')}"></script>
         <script defer type="text/javascript" 
-                src="${h.url_for('/js/ie6-menu.js')}"></script>
-        <link href  = "${h.url_for('/styles/ie6.css')}"
+                src="${h.url('/js/ie6-menu.js')}"></script>
+        <link href  = "${h.url('/styles/ie6.css')}"
               media = "screen" 
               rel   = "stylesheet" type="text/css">
       <![endif]-->
       <!--[if IE 7]>
-        <link href  = "${h.url_for('/styles/ie7.css')}"
+        <link href  = "${h.url('/styles/ie7.css')}"
               media = "screen" 
               rel   = "stylesheet" type="text/css">
       <![endif]-->
       <!--[if IE 8]>
-        <link href  = "${h.url_for('/styles/ie8.css')}"
+        <link href  = "${h.url('/styles/ie8.css')}"
               media = "screen" 
               rel   = "stylesheet" type="text/css">
       <![endif]-->
     % endif
-    <script src="${h.url_for('/js/check.js')}" type="text/javascript"></script>
+    <script src="${h.url('/js/check.js')}" type="text/javascript"></script>
   </head>
   <body onload="clearModification();">
     % if g.mpuls_config.is_enabled('common', 'showdemonotice'):



More information about the Mpuls-commits mailing list