[Mpuls-commits] r1953 - wasko/branches/2.0/jmdweb/templates/casemanagement

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Mar 16 09:53:53 CET 2010


Author: torsten
Date: 2010-03-16 09:53:53 +0100 (Tue, 16 Mar 2010)
New Revision: 1953

Modified:
   wasko/branches/2.0/jmdweb/templates/casemanagement/overview.mako
Log:
* jmdweb/templates/casemanagement/overview.mako: Only show bundled
actions if they are enabled.


Modified: wasko/branches/2.0/jmdweb/templates/casemanagement/overview.mako
===================================================================
--- wasko/branches/2.0/jmdweb/templates/casemanagement/overview.mako	2010-03-16 08:52:35 UTC (rev 1952)
+++ wasko/branches/2.0/jmdweb/templates/casemanagement/overview.mako	2010-03-16 08:53:53 UTC (rev 1953)
@@ -19,6 +19,7 @@
 <div class="waska_form">
   <form action="/case_overview/bundleAction" method="POST">
   <%include file="./caselist.mako" />
+  % if g.mpuls_config.is_enabled('case-module', 'casebundle'):
   <div class="waska_form_element">
     <input type="checkbox" name="all_cases" id="all_cases" value="1"><label for="all_cases">Alle angezeigten Fallakten (${c.count_all}) auswählen</label>
   </div>
@@ -46,6 +47,7 @@
   <div class="waska_form_element w50">
     <input type="submit" value="Aktion für Auswahl ausführen">
   </div>
+  % endif
   </form>
   <br class="newline">
 </div>



More information about the Mpuls-commits mailing list