[Mpuls-commits] r4552 - base/trunk/mpulsweb/templates

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Feb 2 16:41:47 CET 2011


Author: torsten
Date: 2011-02-02 16:41:46 +0100 (Wed, 02 Feb 2011)
New Revision: 4552

Modified:
   base/trunk/mpulsweb/templates/main.mako
Log:
* mpulsweb/templates/main.mako: Only show "Account-Settings" if
	administration is enabled.


Modified: base/trunk/mpulsweb/templates/main.mako
===================================================================
--- base/trunk/mpulsweb/templates/main.mako	2011-02-01 15:31:54 UTC (rev 4551)
+++ base/trunk/mpulsweb/templates/main.mako	2011-02-02 15:41:46 UTC (rev 4552)
@@ -28,6 +28,7 @@
           ${_('sm_menu_link_home')}
         </a>
       </li>
+      % if g.mpuls_config.is_enabled('module' 'administration'):
       <li>
         <a href="${h.url_for(controller='/usersettings', action='showSettings',
                              id=h.getUserId())}"
@@ -35,6 +36,7 @@
           ${_('sm_menu_link_settings')}
         </a>
       </li>
+      % endif
       <!--<li>
         <a href="${h.url_for(controller='/info')}"
            onclick="return checkModification();">



More information about the Mpuls-commits mailing list