[Mpuls-commits] r2332 - wasko/branches/2.0/mpulsweb/templates/home

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Apr 14 10:22:11 CEST 2010


Author: torsten
Date: 2010-04-14 10:22:09 +0200 (Wed, 14 Apr 2010)
New Revision: 2332

Modified:
   wasko/branches/2.0/mpulsweb/templates/home/home.mako
Log:
* mpulsweb/templates/home/home.mako: Wald #1354: Only show "eigene
Termine" for cm


Modified: wasko/branches/2.0/mpulsweb/templates/home/home.mako
===================================================================
--- wasko/branches/2.0/mpulsweb/templates/home/home.mako	2010-04-14 08:18:32 UTC (rev 2331)
+++ wasko/branches/2.0/mpulsweb/templates/home/home.mako	2010-04-14 08:22:09 UTC (rev 2332)
@@ -43,7 +43,7 @@
     <%include file="/home/remindlist.mako"/>
   % endif 
   ## Case 
-  % if g.mpuls_config.is_enabled('case-module', 'appointments'):
+  % if g.mpuls_config.is_enabled('case-module', 'appointments') and h.hasRole('cm'):
     <h2>Eigene Termine</h2>
     <%include file="/home/caseappointmentlist.mako"/>
   % endif



More information about the Mpuls-commits mailing list