[Mpuls-commits] r3993 - base/trunk/mpulsweb/templates/casemanagement
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Oct 20 12:06:42 CEST 2010
Author: torsten
Date: 2010-10-20 12:06:42 +0200 (Wed, 20 Oct 2010)
New Revision: 3993
Modified:
base/trunk/mpulsweb/templates/casemanagement/main.mako
Log:
* mpulsweb/templates/casemanagement/main.mako: Issue790: Only show "Create reminder-link" for cm user.
Modified: base/trunk/mpulsweb/templates/casemanagement/main.mako
===================================================================
--- base/trunk/mpulsweb/templates/casemanagement/main.mako 2010-10-20 09:51:56 UTC (rev 3992)
+++ base/trunk/mpulsweb/templates/casemanagement/main.mako 2010-10-20 10:06:42 UTC (rev 3993)
@@ -147,7 +147,7 @@
</a>
</li>
% endif
- % if g.mpuls_config.is_enabled('case-module', 'appointments') and session.get('case').getState().getState() == 1:
+ % if g.mpuls_config.is_enabled('case-module', 'appointments') and session.get('case').getState().getState() == 1 and h.hasRole(['cm']):
<li>
<a href="${h.url_for(controller='caseappointment',
action='newReminder',
More information about the Mpuls-commits
mailing list