[Mpuls-commits] r984 - in wasko/branches/2.0: . waskaweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Jan 28 16:09:02 CET 2010


Author: bh
Date: 2010-01-28 16:08:59 +0100 (Thu, 28 Jan 2010)
New Revision: 984

Modified:
   wasko/branches/2.0/ChangeLog
   wasko/branches/2.0/waskaweb/lib/config.py
Log:
* waskaweb/lib/config.py (MpulsConfig.build_defaults): Add some
phases definitions


Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog	2010-01-28 15:07:48 UTC (rev 983)
+++ wasko/branches/2.0/ChangeLog	2010-01-28 15:08:59 UTC (rev 984)
@@ -1,5 +1,10 @@
 2010-01-28  Bernhard Herzog  <bh at intevation.de>
 
+	* waskaweb/lib/config.py (MpulsConfig.build_defaults): Add some
+	phases definitions
+
+2010-01-28  Bernhard Herzog  <bh at intevation.de>
+
 	* waskaweb/model/case.py (ImportCaseExistsError)
 	(CaseOverview.sortByLastname, SessionCase.save): Removed.  Not
 	used.

Modified: wasko/branches/2.0/waskaweb/lib/config.py
===================================================================
--- wasko/branches/2.0/waskaweb/lib/config.py	2010-01-28 15:07:48 UTC (rev 983)
+++ wasko/branches/2.0/waskaweb/lib/config.py	2010-01-28 15:08:59 UTC (rev 984)
@@ -99,22 +99,32 @@
         # PHASES
         # --------
         # Available Phases:
-        phases = []
-        set('phases', 'phases', phases)
+        set('phases', 'phases', ["0","1","2"])
 
         # Description of phases
-        description = {}
+        description = [{
+            "0" : u"Eingangsdokumentation",
+            "1" : u"Case Management",
+            "2" : u"Nachbetreuung",
+            }]
         set('phases', 'description', description)
 
         # Phasepairs
-        pairs =[] 
+        pairs =[{
+            "0": ["0","1"],
+            "1": ["2","3"],
+            "2": ["4","5"],
+            }]
         set('phases', 'pairs', pairs)
-        set('phases', 'pairss', [])
         symbols = [] 
         set('phases', 'symbols', symbols)
 
         # Succenssors and Predesessors
-        successors = [] 
+        successors = [{
+            "0": ["1"],
+            "1": ["2"],
+            "2": [],
+            }]
         set('phases', 'successors', successors)
 
         #  EVALUATIONS 



More information about the Mpuls-commits mailing list