[Mpuls-commits] r5863 - base/trunk/mpulsweb/templates/annotations

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Wed Mar 7 13:55:36 CET 2012


Author: ludwig
Date: 2012-03-07 13:55:36 +0100 (Wed, 07 Mar 2012)
New Revision: 5863

Modified:
   base/trunk/mpulsweb/templates/annotations/main.mako
Log:
Issue 2738: Replace url_for with url (templates/annotations)


Modified: base/trunk/mpulsweb/templates/annotations/main.mako
===================================================================
--- base/trunk/mpulsweb/templates/annotations/main.mako	2012-03-07 12:52:08 UTC (rev 5862)
+++ base/trunk/mpulsweb/templates/annotations/main.mako	2012-03-07 12:55:36 UTC (rev 5863)
@@ -13,24 +13,24 @@
     <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" type="text/css">
-    <link href="${h.url_for('/styles/print.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('/styles/all.css')}" media="all" rel="stylesheet" type="text/css">
+    <link href="${h.url('/styles/print.css')}" media="screen" rel="stylesheet" type="text/css">
+    <link href="${h.url('/styles/print.css')}" media="print" rel="stylesheet" type="text/css">
     % else:
-    <link href="${h.url_for('/styles/all.css')}" media="all" rel="stylesheet" type="text/css">
-    <link href="${h.url_for('/styles/screen.css')}" media="screen" rel="stylesheet" type="text/css">
-    <link href="${h.url_for('/styles/print.css')}" media="print" rel="stylesheet" type="text/css">
-    <!--[if gt IE 5]><link href="${h.url_for('/styles/ie6.css')}" media="screen" rel="stylesheet" type="text/css"><![endif]-->
-    <link href="${h.url_for('/styles/local.css')}" media="all" rel="stylesheet" type="text/css">
+    <link href="${h.url('/styles/all.css')}" media="all" rel="stylesheet" type="text/css">
+    <link href="${h.url('/styles/screen.css')}" media="screen" rel="stylesheet" type="text/css">
+    <link href="${h.url('/styles/print.css')}" media="print" rel="stylesheet" type="text/css">
+    <!--[if gt IE 5]><link href="${h.url('/styles/ie6.css')}" media="screen" rel="stylesheet" type="text/css"><![endif]-->
+    <link href="${h.url('/styles/local.css')}" media="all" rel="stylesheet" type="text/css">
     % endif
   </head>
   <body>
     <div id="wrapper_login" >
       <div id="header_login">
         <div id="logo_login">
-          <img src="${h.url_for('/images/logos/logo_ka_75.png')}" alt="${_('Logo agency')}" border="0">
+          <img src="${h.url('/images/logos/logo_ka_75.png')}" alt="${_('Logo agency')}" border="0">
         </div>
       </div>
       <div id="content_login">



More information about the Mpuls-commits mailing list