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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Mar 18 12:56:46 CET 2010


Author: torsten
Date: 2010-03-18 12:56:46 +0100 (Thu, 18 Mar 2010)
New Revision: 2005

Modified:
   wasko/branches/2.0/mpulsweb/templates/casemanagement/overview.mako
Log:
* mpulsweb/templates/casemanagement/overview.mako: Adapted rolenames
	  and call new case_bundle controller instead of old case_overview
	  controller for bundled actions.


Modified: wasko/branches/2.0/mpulsweb/templates/casemanagement/overview.mako
===================================================================
--- wasko/branches/2.0/mpulsweb/templates/casemanagement/overview.mako	2010-03-18 11:53:45 UTC (rev 2004)
+++ wasko/branches/2.0/mpulsweb/templates/casemanagement/overview.mako	2010-03-18 11:56:46 UTC (rev 2005)
@@ -17,7 +17,7 @@
 <%include file="/casemanagement/search.mako" />
 Es wurden ${c.count_all} Fallakten gefunden
 <div class="waska_form">
-  <form action="/case_overview/bundleAction" method="POST">
+  <form action="/case_bundle/bundleAction" method="POST">
   <%include file="./caselist.mako" />
   % if g.mpuls_config.is_enabled('case-module', 'casebundle'):
   <div class="waska_form_element">
@@ -26,18 +26,18 @@
   <div class="waska_form_element w30">
     <select name="action">
       <option value="no_action">Keine Aktion</option>
-      % if h.hasRole(['admin_ka']):
+      % if h.hasRole(['admin']):
         <option value="delete">Löschen</option>
         <option value="anonymize">Anonymisieren</option>
         <option value="restore">Wiederherstellen</option>
         <option value="transfer">Bearbeitung übertragen</option>
       % endif
-      % if h.hasRole(['cm_ka']):
+      % if h.hasRole(['cm']):
         <option value="markdelete">Löschen</option>
         <option value="markanonymize">Anonymisieren</option>
       % endif
-      % if h.hasRole(['admin_ka', 'cm_ka']):
-        <option value="stand-in">Vertretung zuweisen</option>
+      % if h.hasRole(['admin', 'cm']):
+        <option value="standin">Vertretung zuweisen</option>
       % endif
       % if g.mpuls_config.is_enabled('case-module', 'export'):
         <option value="exportXLS">Als Excel-Tabellen exportieren</option>



More information about the Mpuls-commits mailing list