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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Jun 18 15:31:41 CEST 2010


Author: bh
Date: 2010-06-18 15:31:36 +0200 (Fri, 18 Jun 2010)
New Revision: 3033

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/templates/usersettings/change_password.mako
Log:
* mpulsweb/templates/usersettings/change_password.mako: Generate
correct URL for "Mein Konto" in buildNavipath


Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2010-06-18 11:07:14 UTC (rev 3032)
+++ base/trunk/ChangeLog	2010-06-18 13:31:36 UTC (rev 3033)
@@ -1,3 +1,8 @@
+2010-06-18  Bernhard Herzog  <bh at intevation.de>
+
+	* mpulsweb/templates/usersettings/change_password.mako: Generate
+	correct URL for "Mein Konto" in buildNavipath
+
 2010-06-11  Roland Geider <roland.geider at intevation.de>
 
 	* mpulsweb/public/styles/all.css: use the same border for readonly

Modified: base/trunk/mpulsweb/templates/usersettings/change_password.mako
===================================================================
--- base/trunk/mpulsweb/templates/usersettings/change_password.mako	2010-06-18 11:07:14 UTC (rev 3032)
+++ base/trunk/mpulsweb/templates/usersettings/change_password.mako	2010-06-18 13:31:36 UTC (rev 3033)
@@ -1,7 +1,9 @@
 ## -*- coding: utf-8 -*-
 <%inherit file="../main.mako" />
 <%def name="buildNavipath()">
-  <li><a href="#" onclick="return checkModification();">${_('sm_menu_link_settings')}</a></li>
+  <li><a href="${h.url_for(controller='/usersettings', action='showSettings',
+                           id=h.getUserId())}"
+         onclick="return checkModification();">${_('sm_menu_link_settings')}</a></li>
   <li><a href="#" onclick="return checkModification();">${_('adm_header_changepassword')}
 </a></li>
 </%def>



More information about the Mpuls-commits mailing list