[Mpuls-commits] r1868 - wasko/branches/2.0/mpulsweb/templates/casemanagement

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Mar 1 09:00:04 CET 2010


Author: torsten
Date: 2010-03-01 09:00:03 +0100 (Mon, 01 Mar 2010)
New Revision: 1868

Modified:
   wasko/branches/2.0/mpulsweb/templates/casemanagement/main.mako
Log:
Only show wlogbook if it is enabled


Modified: wasko/branches/2.0/mpulsweb/templates/casemanagement/main.mako
===================================================================
--- wasko/branches/2.0/mpulsweb/templates/casemanagement/main.mako	2010-03-01 07:57:41 UTC (rev 1867)
+++ wasko/branches/2.0/mpulsweb/templates/casemanagement/main.mako	2010-03-01 08:00:03 UTC (rev 1868)
@@ -112,7 +112,7 @@
               </a>
             </li>
           % endif
-          % if h.hasRole(['cm_ka']):
+          % if h.hasRole(['cm_ka']) and g.mpuls_config.is_enabled('case-module', 'logbook'):
             <li>
               <a href="/logbook/index/${session.get('case').id}" 
                  onclick="return checkModification();">



More information about the Mpuls-commits mailing list