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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Apr 26 12:52:40 CEST 2010


Author: torsten
Date: 2010-04-26 12:52:39 +0200 (Mon, 26 Apr 2010)
New Revision: 2516

Modified:
   wasko/branches/2.0/mpulsweb/templates/casemanagement/overview.mako
Log:
* mpulsweb/templates/casemanagement/overview.mako: Only show exports
which are enabled.


Modified: wasko/branches/2.0/mpulsweb/templates/casemanagement/overview.mako
===================================================================
--- wasko/branches/2.0/mpulsweb/templates/casemanagement/overview.mako	2010-04-26 10:51:54 UTC (rev 2515)
+++ wasko/branches/2.0/mpulsweb/templates/casemanagement/overview.mako	2010-04-26 10:52:39 UTC (rev 2516)
@@ -40,9 +40,13 @@
       % if h.hasRole(['admin', 'cm']):
         <option value="standin">Vertretung zuweisen</option>
       % endif
-      % if g.mpuls_config.is_enabled('case-module', 'export'):
+      % if g.mpuls_config.is_enabled('case-module', 'exportXLS'):
         <option value="exportXLS">Als Excel-Tabellen exportieren</option>
+      % endif
+      % if g.mpuls_config.is_enabled('case-module', 'exportXML'):
         <option value="exportXML">Als XML-Datei exportieren</option>
+      % endif
+      % if g.mpuls_config.is_enabled('case-module', 'exportCSV'):
         <option value="exportCSV">Als CSV-Datei exportieren</option>
       % endif
     </select>



More information about the Mpuls-commits mailing list