[Mpuls-commits] r2761 - in jmd/trunk: . jmdstrukturweb/templates/casemanagement

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed May 26 12:53:23 CEST 2010


Author: bh
Date: 2010-05-26 12:53:23 +0200 (Wed, 26 May 2010)
New Revision: 2761

Modified:
   jmd/trunk/ChangeLog
   jmd/trunk/jmdstrukturweb/templates/casemanagement/new.mako
Log:
* jmdstrukturweb/templates/casemanagement/new.mako: Use h.url_for
consistently for all-intra application URLs.


Modified: jmd/trunk/ChangeLog
===================================================================
--- jmd/trunk/ChangeLog	2010-05-26 10:52:06 UTC (rev 2760)
+++ jmd/trunk/ChangeLog	2010-05-26 10:53:23 UTC (rev 2761)
@@ -1,5 +1,10 @@
 2010-05-26  Bernhard Herzog  <bh at intevation.de>
 
+	* jmdstrukturweb/templates/casemanagement/new.mako: Use h.url_for
+	consistently for all-intra application URLs.
+
+2010-05-26  Bernhard Herzog  <bh at intevation.de>
+
 	* jmdweb/templates/casemanagement/new.mako,
 	jmdweb/templates/main.mako,
 	jmdweb/templates/privacy/default/privacy_statement.html,

Modified: jmd/trunk/jmdstrukturweb/templates/casemanagement/new.mako
===================================================================
--- jmd/trunk/jmdstrukturweb/templates/casemanagement/new.mako	2010-05-26 10:52:06 UTC (rev 2760)
+++ jmd/trunk/jmdstrukturweb/templates/casemanagement/new.mako	2010-05-26 10:53:23 UTC (rev 2761)
@@ -3,12 +3,14 @@
 
 <%def name="buildNavipath()">
   ${parent.buildNavipath()}
-  <li><a href="/case/">${_('cm_np_root')}</a></li>
-  <li><a href="/case/">${_('cm_np_new')}</a></li>
+  <li><a href="${h.url_for(controller='/case')}">${_('cm_np_root')}</a></li>
+  <li><a href="${h.url_for(controller='/case')}">${_('cm_np_new')}</a></li>
 </%def>
 
 <div class="waska_form">
-  <form id="waska_form" action="/case/newAction" accept-charset="UTF-8"
+  <form id="waska_form" 
+        action="${h.url_for(controller='/case', action='newAction')}" 
+        accept-charset="UTF-8"
         name="waska_form" method="POST">
     <h1>Neue Fallakte anlegen</h1>
     <fieldset>



More information about the Mpuls-commits mailing list