[Mpuls-commits] r5573 - base/trunk/mpulsweb/templates/usersettings

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Nov 11 18:38:33 CET 2011


Author: bh
Date: 2011-11-11 18:38:32 +0100 (Fri, 11 Nov 2011)
New Revision: 5573

Modified:
   base/trunk/mpulsweb/templates/usersettings/show_settings.mako
Log:
Do not add IDs to the URLs for changePassword and editStandin actions
of the usersettings controller. They're not needed anymore.


Modified: base/trunk/mpulsweb/templates/usersettings/show_settings.mako
===================================================================
--- base/trunk/mpulsweb/templates/usersettings/show_settings.mako	2011-11-11 17:26:47 UTC (rev 5572)
+++ base/trunk/mpulsweb/templates/usersettings/show_settings.mako	2011-11-11 17:38:32 UTC (rev 5573)
@@ -11,11 +11,11 @@
     <div class="actions">
       <ul>
         % if g.mpuls_config.is_enabled('module', 'administration'):
-          <li><a href="${h.url_for(controller='/usersettings', action='changePassword', id=h.getUserId())}"> ${_('Change user password')}</a></li>
+          <li><a href="${h.url_for(controller='/usersettings', action='changePassword')}"> ${_('Change user password')}</a></li>
         % endif
         % if h.hasRole(['cm']):
           % if g.mpuls_config.is_enabled('case-module', 'organisation'):
-            <li><a href="${h.url_for(controller='/usersettings', action='editStandin', id=h.getUserId())}"> ${_('Replace standin')}</a></li>
+            <li><a href="${h.url_for(controller='/usersettings', action='editStandin')}"> ${_('Replace standin')}</a></li>
           % endif
         % endif
       </ul>



More information about the Mpuls-commits mailing list