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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Jun 10 12:49:40 CEST 2010


Author: torsten
Date: 2010-06-10 12:49:38 +0200 (Thu, 10 Jun 2010)
New Revision: 2979

Modified:
   base/trunk/mpulsweb/templates/casemanagement/overview.mako
Log:
* mpulsweb/templates/casemanagement/overview.mako: Only show bundle action to set standin or editor if organisation is enabled.


Modified: base/trunk/mpulsweb/templates/casemanagement/overview.mako
===================================================================
--- base/trunk/mpulsweb/templates/casemanagement/overview.mako	2010-06-10 10:48:15 UTC (rev 2978)
+++ base/trunk/mpulsweb/templates/casemanagement/overview.mako	2010-06-10 10:49:38 UTC (rev 2979)
@@ -34,7 +34,9 @@
           <option value="anonymize">Anonymisieren</option>
         % endif
         <option value="restore">Wiederherstellen</option>
-        <option value="transfer">Bearbeitung übertragen</option>
+        % if g.mpuls_config.is_enabled('case-module', 'organisation'):
+          <option value="transfer">Bearbeitung übertragen</option>
+        % endif
       % endif
       % if h.hasRole(['cm']):
         <option value="markdelete">Löschen</option>
@@ -43,7 +45,9 @@
         % endif
       % endif
       % if h.hasRole(['admin', 'cm']):
-        <option value="standin">Vertretung zuweisen</option>
+        % if g.mpuls_config.is_enabled('case-module', 'organisation'):
+          <option value="standin">Vertretung zuweisen</option>
+        % endif
       % endif
       % if g.mpuls_config.is_enabled('case-module', 'exportXLS'):
         <option value="exportXLS">Als Excel-Tabellen exportieren</option>
@@ -63,3 +67,4 @@
   </form>
   <br class="newline">
 </div>
+



More information about the Mpuls-commits mailing list