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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Feb 15 12:44:08 CET 2011


Author: torsten
Date: 2011-02-15 12:44:07 +0100 (Tue, 15 Feb 2011)
New Revision: 4620

Modified:
   base/trunk/mpulsweb/templates/casemanagement/overview.mako
Log:
* mpulsweb/templates/casemanagement/overview.mako: If formletter is
	enabled show available formletter as action.


Modified: base/trunk/mpulsweb/templates/casemanagement/overview.mako
===================================================================
--- base/trunk/mpulsweb/templates/casemanagement/overview.mako	2011-02-15 11:42:45 UTC (rev 4619)
+++ base/trunk/mpulsweb/templates/casemanagement/overview.mako	2011-02-15 11:44:07 UTC (rev 4620)
@@ -60,6 +60,11 @@
       % if g.mpuls_config.is_enabled('case-module', 'exportCSV'):
         <option value="exportCSV">Als CSV-Datei exportieren</option>
       % endif
+      % if g.mpuls_config.is_enabled('case-module', 'formletter'):
+        % for l in g.mpuls_config.get('case', 'formletter'):
+          <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:
         <option value="evaluate">Auswerten</option>
       % endif



More information about the Mpuls-commits mailing list