[Mpuls-commits] r5848 - base/trunk/mpulsweb/templates/auth

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Fri Mar 2 15:01:12 CET 2012


Author: ludwig
Date: 2012-03-02 15:01:12 +0100 (Fri, 02 Mar 2012)
New Revision: 5848

Modified:
   base/trunk/mpulsweb/templates/auth/login.mako
   base/trunk/mpulsweb/templates/auth/logout.mako
   base/trunk/mpulsweb/templates/auth/main.mako
Log:
Issue 2738: Replace url_for with url in template/auth/ folder


Modified: base/trunk/mpulsweb/templates/auth/login.mako
===================================================================
--- base/trunk/mpulsweb/templates/auth/login.mako	2012-03-02 13:48:33 UTC (rev 5847)
+++ base/trunk/mpulsweb/templates/auth/login.mako	2012-03-02 14:01:12 UTC (rev 5848)
@@ -18,7 +18,7 @@
     ${_('Please enter identifier and password to login.')}
   </p>
 
-  <form name="login" action="${h.url_for(controller='/auth', action='loginAction')}" 
+  <form name="login" action="${h.url(controller='auth', action='loginAction')}" 
   accept-charset="UTF-8" method="POST">
     <div class="label">
       <label for="username">${_('Identifier:')}</label>

Modified: base/trunk/mpulsweb/templates/auth/logout.mako
===================================================================
--- base/trunk/mpulsweb/templates/auth/logout.mako	2012-03-02 13:48:33 UTC (rev 5847)
+++ base/trunk/mpulsweb/templates/auth/logout.mako	2012-03-02 14:01:12 UTC (rev 5848)
@@ -3,6 +3,6 @@
 <h1>${_('%s Abmeldung') % h.get_app_title()}</h1>
 <div id="waska_form_login">
   <p>
-    ${_('You successfully logout. Please click on')} <a href="${h.url_for('/')}">${_('login')}</a>${_(', to login again.')}
+    ${_('You successfully logout. Please click on')} <a href="${h.url('/')}">${_('login')}</a>${_(', to login again.')}
   </p>
 </div>

Modified: base/trunk/mpulsweb/templates/auth/main.mako
===================================================================
--- base/trunk/mpulsweb/templates/auth/main.mako	2012-03-02 13:48:33 UTC (rev 5847)
+++ base/trunk/mpulsweb/templates/auth/main.mako	2012-03-02 14:01:12 UTC (rev 5848)
@@ -3,7 +3,7 @@
 <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">
@@ -12,11 +12,11 @@
   <div id="footer_login">
     <p>${_('BMF-phrase %s') % h.get_app_title()}</p>
      <a target="_blank" href="http://www.bmfsfj.de">
-      <img src="${h.url_for('/images/logos/BMFSFJ_C_M_web.jpg')}" 
+      <img src="${h.url('/images/logos/BMFSFJ_C_M_web.jpg')}" 
         alt="${_('Logo Bundesministerium for Family, Seniors, Women and Youth')}" border="0">
     </a>
      <a target="_blank" href="http://ec.europa.eu/employment_social/esf2000/index_de.html">
-      <img src="${h.url_for('/images/logos/eu_logo_4c_pos_web2.jpg')}" 
+      <img src="${h.url('/images/logos/eu_logo_4c_pos_web2.jpg')}" 
         alt="${_('Logo European Union - European Social Fond')}" border="0">
     </a>
   </div>



More information about the Mpuls-commits mailing list