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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Feb 7 10:35:38 CET 2011


Author: torsten
Date: 2011-02-07 10:35:38 +0100 (Mon, 07 Feb 2011)
New Revision: 4586

Modified:
   base/trunk/mpulsweb/templates/casemanagement/main.mako
Log:
* mpulsweb/templates/casemanagement/main.mako: Only show statement
	links if enabled.


Modified: base/trunk/mpulsweb/templates/casemanagement/main.mako
===================================================================
--- base/trunk/mpulsweb/templates/casemanagement/main.mako	2011-02-07 09:33:10 UTC (rev 4585)
+++ base/trunk/mpulsweb/templates/casemanagement/main.mako	2011-02-07 09:35:38 UTC (rev 4586)
@@ -180,7 +180,9 @@
                     onclick="return checkModification();"
                     target="_blank">${_('cm_menu_link_print')}</a>
                 </li>
-                <%include file="/statements/statements.mako" />
+                % if g.mpuls_config.is_enabled('case-module', 'statements'):
+                  <%include file="/statements/statements.mako" />
+                % endif
             % endif
             </ul>
         </li>



More information about the Mpuls-commits mailing list