[Mpuls-commits] r2971 - base/trunk/mpulsweb/templates/casemanagement

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Jun 10 12:19:25 CEST 2010


Author: torsten
Date: 2010-06-10 12:19:25 +0200 (Thu, 10 Jun 2010)
New Revision: 2971

Modified:
   base/trunk/mpulsweb/templates/casemanagement/main.mako
Log:
* mpulsweb/templates/casemanagement/main.mako: Only show organisation link if organisation is enabled.


Modified: base/trunk/mpulsweb/templates/casemanagement/main.mako
===================================================================
--- base/trunk/mpulsweb/templates/casemanagement/main.mako	2010-06-10 10:16:36 UTC (rev 2970)
+++ base/trunk/mpulsweb/templates/casemanagement/main.mako	2010-06-10 10:19:25 UTC (rev 2971)
@@ -104,6 +104,7 @@
         <li>${_('More options')}
             <ul>
             % if h.hasRole(['cm_ka', 'admin_ka']):
+                % if g.mpuls_config.is_enabled('case-module', 'organisation'):
                 <li>
                     <a href="${h.url_for(controller='case', 
                                          action='organisation', 
@@ -112,6 +113,7 @@
                         ${_('cm_menu_link_organisation')}
                     </a>
                 </li>
+                % endif
                 % if g.mpuls_config.is_enabled('case-module', 'tags'):
                 <li>
                     <a href="${h.url_for(controller='tags',



More information about the Mpuls-commits mailing list