[Mpuls-commits] r2864 - base/trunk/mpulsweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Jun 3 11:31:07 CEST 2010


Author: torsten
Date: 2010-06-03 11:31:06 +0200 (Thu, 03 Jun 2010)
New Revision: 2864

Modified:
   base/trunk/mpulsweb/lib/config.py
Log:
Changeed default validities


Modified: base/trunk/mpulsweb/lib/config.py
===================================================================
--- base/trunk/mpulsweb/lib/config.py	2010-06-03 09:29:18 UTC (rev 2863)
+++ base/trunk/mpulsweb/lib/config.py	2010-06-03 09:31:06 UTC (rev 2864)
@@ -302,12 +302,10 @@
         
         # VALIDITIES
         # -------------
-        validity_1 = {'name': 'Vorgabe', 'id': '1', 'tags': []}
-        validity_2 = {'name': 'Vorgabe', 'id': '2', 'tags': []}
-        validity_3 = {'name': 'Vorgabe', 'id': '3', 'tags': []}
-        validity_4 = {'name': 'Vorgabe', 'id': '4', 'tags': []}
-        validity_5 = {'name': 'Vorgabe', 'id': '5', 'tags': []}
-        enabled_validities = [validity_1, validity_2, validity_3, validity_4, validity_5]
+        validity_0 = {'name': 'Nicht auswertbar', 'id': '0', 'tags': [], 'icon': 'validity-0-22.png'}
+        validity_1 = {'name': 'Grundsätzlich auswertbar', 'id': '1', 'tags': [], 'icon': 'validity-1-22.png'}
+        validity_2 = {'name': 'Berichtsfähig', 'id': '2', 'tags': [], 'icon': 'validity-2-22.png'}
+        enabled_validities = [validity_0, validity_1, validity_2]
         set('validities', 'enabled', enabled_validities)
 
 



More information about the Mpuls-commits mailing list