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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Dec 28 15:33:02 CET 2010


Author: torsten
Date: 2010-12-28 15:33:01 +0100 (Tue, 28 Dec 2010)
New Revision: 4440

Modified:
   base/trunk/mpulsweb/lib/config.py
Log:
Added new config var for agency-overview. Further configured fields in
agency-overview.


Modified: base/trunk/mpulsweb/lib/config.py
===================================================================
--- base/trunk/mpulsweb/lib/config.py	2010-12-28 11:03:33 UTC (rev 4439)
+++ base/trunk/mpulsweb/lib/config.py	2010-12-28 14:33:01 UTC (rev 4440)
@@ -135,8 +135,10 @@
         set('module', 'casemanagement', '1')
         set('module', 'appointments', '1')
         set('module', 'documents', '1')
+        set('module', 'news', '1')
         set('module', 'evaluation', '1')
-        set('module', 'news', '1')
+        # Used for evaluation server.
+        set('module', 'agency-overview', '0')
 
         # Case Modules
         set('case-module', 'search', '1')
@@ -198,8 +200,34 @@
         #    bearbeiter_id which is an int.
         #
         set('case', 'fields', [])
-        set('agency', 'fields', [{"name":"fkz", "alias":"fkz", "preload":True, "overview":True, "overview_label": "FKZ"},
-                                 {"name":"count", "alias":"count", "preload":True, "overview":True, "overview_label": "Anzahl"}])
+        set('agency', 'fields', [{"name":"fkz", 
+                                  "alias":"fkz", 
+                                  "preload":True, 
+                                  "overview":True, 
+                                  "overview_style":"table_width_small", 
+                                  "overview_label": "FKZ"},
+                                 {"name":"id", 
+                                  "alias":"id", 
+                                  "preload":True},
+                                 {"name":"name", 
+                                  "alias":"name", 
+                                  "preload":True, 
+                                  "overview":True, 
+                                  "overview_style":"table_width_long", 
+                                  "overview_length":40, 
+                                  "overview_label": "Name"},
+                                 {"name":"count", 
+                                  "alias":"count", 
+                                  "preload":True, 
+                                  "overview":True, 
+                                  "overview_style":"table_width_small number_field", 
+                                  "overview_label": "Anzahl"},
+                                 {"name":"time", 
+                                  "alias":"time", 
+                                  "preload":True, 
+                                  "overview":True, 
+                                  "overview_style":"table_date number_field", 
+                                  "overview_label": "Aktualisiert"}])
 
         # On default MaxSaveTimeReminders will be generated after x-days from
         # last accesstime (defined in the agency configuration). Here you can



More information about the Mpuls-commits mailing list