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

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


Author: bh
Date: 2010-05-25 20:44:45 +0200 (Tue, 25 May 2010)
New Revision: 2756

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


Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2010-05-25 18:43:15 UTC (rev 2755)
+++ base/trunk/ChangeLog	2010-05-25 18:44:45 UTC (rev 2756)
@@ -1,5 +1,10 @@
 2010-05-25  Bernhard Herzog  <bh at intevation.de>
 
+	* mpulsweb/templates/tags/tags.mako: Use h.url_for consistently
+	for all-intra application URLs.
+
+2010-05-25  Bernhard Herzog  <bh at intevation.de>
+
 	* mpulsweb/templates/settings/dialogs/success_edit.mako,
 	mpulsweb/templates/settings/edit.mako,
 	mpulsweb/templates/settings/show.mako: Use h.url_for consistently

Modified: base/trunk/mpulsweb/templates/tags/tags.mako
===================================================================
--- base/trunk/mpulsweb/templates/tags/tags.mako	2010-05-25 18:43:15 UTC (rev 2755)
+++ base/trunk/mpulsweb/templates/tags/tags.mako	2010-05-25 18:44:45 UTC (rev 2756)
@@ -3,8 +3,8 @@
 <%!  import mpulsweb.lib.helper.filters as F %>
 <%def name="buildNavipath()">
 		${parent.buildNavipath()}
-	<li><a href="/case/select/${session.get('case').id}/1">${_('cm_np_select')}</a></li>
-	<li><a href="/tags/tags/${session.get('case').id}">${_('Tags')}</a></li>
+	<li><a href="${h.url_for(controller='/case', action='select', id=session.get('case').id, confirmed=1)}">${_('cm_np_select')}</a></li>
+	<li><a href="${h.url_for(controller='/tags', action='tags', id=session.get('case').id)}">${_('Tags')}</a></li>
 </%def>
 
 <div id="content_header_small">



More information about the Mpuls-commits mailing list