[Mpuls-commits] r5745 - base/trunk/mpulsweb/templates/casemanagement
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Jan 3 09:47:44 CET 2012
Author: torsten
Date: 2012-01-03 09:47:44 +0100 (Tue, 03 Jan 2012)
New Revision: 5745
Modified:
base/trunk/mpulsweb/templates/casemanagement/overview.mako
Log:
Issue2793: Hide evaluation in bundled actions if no evaluations are
configured but evaluation is enabled.
Modified: base/trunk/mpulsweb/templates/casemanagement/overview.mako
===================================================================
--- base/trunk/mpulsweb/templates/casemanagement/overview.mako 2012-01-03 08:44:01 UTC (rev 5744)
+++ base/trunk/mpulsweb/templates/casemanagement/overview.mako 2012-01-03 08:47:44 UTC (rev 5745)
@@ -65,7 +65,9 @@
<option value="formletter:${l.get('id')}">${l.get('name')}</option>
% endfor
% endif
- % if g.mpuls_config.is_enabled('module', 'evaluation') and not c.hide_evaluation:
+ % if g.mpuls_config.is_enabled('module', 'evaluation') \
+ and len(g.mpuls_config.get('evaluations', 'enabled')) > 0 \
+ and not c.hide_evaluation:
<option value="evaluate">${_('Evaluate')}</option>
% endif
</select>
More information about the Mpuls-commits
mailing list