[Mpuls-commits] r3375 - in wasko/trunk: . waskoweb/templates/casemanagement

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Aug 11 12:46:32 CEST 2010


Author: bh
Date: 2010-08-11 12:46:29 +0200 (Wed, 11 Aug 2010)
New Revision: 3375

Modified:
   wasko/trunk/ChangeLog
   wasko/trunk/waskoweb/templates/casemanagement/main.mako
Log:
* waskoweb/templates/casemanagement/main.mako: adapt to changes in
mpuls base: import render_navigation explicitly from
mpulsweb.lib.navigation as it's not available in helpers anymore.


Modified: wasko/trunk/ChangeLog
===================================================================
--- wasko/trunk/ChangeLog	2010-08-11 10:03:04 UTC (rev 3374)
+++ wasko/trunk/ChangeLog	2010-08-11 10:46:29 UTC (rev 3375)
@@ -1,3 +1,9 @@
+2010-08-11  Bernhard Herzog  <bh at intevation.de>
+
+	* waskoweb/templates/casemanagement/main.mako: adapt to changes in
+	mpuls base: import render_navigation explicitly from
+	mpulsweb.lib.navigation as it's not available in helpers anymore.
+
 2010-08-10 Roland Geider <roland.geider at intevation.de>
 	
 	* waskoweb/controllers/formularpage.py: issue933: create a reminder

Modified: wasko/trunk/waskoweb/templates/casemanagement/main.mako
===================================================================
--- wasko/trunk/waskoweb/templates/casemanagement/main.mako	2010-08-11 10:03:04 UTC (rev 3374)
+++ wasko/trunk/waskoweb/templates/casemanagement/main.mako	2010-08-11 10:46:29 UTC (rev 3375)
@@ -1,6 +1,9 @@
 ## -*- coding: utf-8 -*-
 <%inherit file="../main.mako" />
-<%!  import mpulsweb.lib.helper.filters as F %>
+<%!
+   import mpulsweb.lib.helper.filters as F
+   from mpulsweb.lib.navigation import render_navigation
+%>
 ${next.body()}
 
 <%def name="buildNavipath()">
@@ -242,7 +245,7 @@
   </div>-->
   <div class="menu">
     <h1>${_('cm_menu_header_structure')}</h1>
-    ${h.literal(h.render_navigation())}
+    ${h.literal(render_navigation())}
   </div>
 </%def>
 



More information about the Mpuls-commits mailing list