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

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


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

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


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

Modified: base/trunk/mpulsweb/templates/usersettings/show_settings.mako
===================================================================
--- base/trunk/mpulsweb/templates/usersettings/show_settings.mako	2010-05-25 18:44:45 UTC (rev 2756)
+++ base/trunk/mpulsweb/templates/usersettings/show_settings.mako	2010-05-25 18:45:21 UTC (rev 2757)
@@ -10,9 +10,9 @@
   <div id="modusfield">
     <div class="actions">
       <ul>
-        <li><a href="/usersettings/changePassword/${h.getUserId()}"> ${_('usersettings_a_change_pw')}</a></li>
+        <li><a href="${h.url_for(controller='/usersettings', action='changePassword', id=h.getUserId())}"> ${_('usersettings_a_change_pw')}</a></li>
         % if h.hasRole(['cm_ka']):
-          <li><a href="/usersettings/editStandin/${h.getUserId()}"> ${_('usersettings_a_change_replace')}</a></li>
+          <li><a href="${h.url_for(controller='/usersettings', action='editStandin', id=h.getUserId())}"> ${_('usersettings_a_change_replace')}</a></li>
         % endif
       </ul>
     </div>



More information about the Mpuls-commits mailing list