[Mpuls-commits] r2751 - in base/trunk: . mpulsweb/templates

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue May 25 20:37:14 CEST 2010


Author: bh
Date: 2010-05-25 20:37:12 +0200 (Tue, 25 May 2010)
New Revision: 2751

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/templates/main.mako
Log:
* mpulsweb/templates/main.mako: Use h.url_for consistently for
all-intra application URLs.


Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2010-05-25 18:36:28 UTC (rev 2750)
+++ base/trunk/ChangeLog	2010-05-25 18:37:12 UTC (rev 2751)
@@ -1,5 +1,10 @@
 2010-05-25  Bernhard Herzog  <bh at intevation.de>
 
+	* mpulsweb/templates/main.mako: Use h.url_for consistently for
+	all-intra application URLs.
+
+2010-05-25  Bernhard Herzog  <bh at intevation.de>
+
 	* mpulsweb/templates/logbook/dialogs/confirm_delete_logbook_entry.mako,
 	mpulsweb/templates/logbook/dialogs/failed_create_logbook_entry.mako,
 	mpulsweb/templates/logbook/dialogs/failed_delete_logbook_entry.mako,

Modified: base/trunk/mpulsweb/templates/main.mako
===================================================================
--- base/trunk/mpulsweb/templates/main.mako	2010-05-25 18:36:28 UTC (rev 2750)
+++ base/trunk/mpulsweb/templates/main.mako	2010-05-25 18:37:12 UTC (rev 2751)
@@ -177,7 +177,8 @@
   <ul>
     % for eval in g.mpuls_config.get('evaluations', 'enabled'): 
       <li>
-        <a href="/evaluate/evaluate/${eval.get('id')}">${eval.get('name')}</a>
+        <a href="${h.url_for(controller='/evaluate', action='evaluate',
+                             id=eval.get('id'))}">${eval.get('name')}</a>
       </li>
     % endfor
   </ul>



More information about the Mpuls-commits mailing list