[Mpuls-commits] r3840 - base/trunk/mpulsweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Oct 1 12:13:53 CEST 2010


Author: torsten
Date: 2010-10-01 12:13:53 +0200 (Fri, 01 Oct 2010)
New Revision: 3840

Modified:
   base/trunk/mpulsweb/controllers/case_overview.py
Log:
* mpulsweb/controllers/case_overview.py (CaseOverviewController.overview): Load PhaseList from phasemodell


Modified: base/trunk/mpulsweb/controllers/case_overview.py
===================================================================
--- base/trunk/mpulsweb/controllers/case_overview.py	2010-10-01 10:12:49 UTC (rev 3839)
+++ base/trunk/mpulsweb/controllers/case_overview.py	2010-10-01 10:13:53 UTC (rev 3840)
@@ -10,6 +10,7 @@
 from mpulsweb.lib.security import checkRole
 from mpulsweb.model.user import UserListObject
 from mpulsweb.model.case import MpulsCaseOverview
+from mpulsweb.model.phase import PhaseFactory 
 
 
 log = logging.getLogger(__name__)
@@ -113,6 +114,7 @@
         c.userlist = ulo.getUserList(filter)
 
         user = session['USER_AUTHORIZED']
+        c.phases = PhaseFactory().build() 
 
         #count num of cases
         c.count_all = len([x for x in c.cases.getDatasets()])



More information about the Mpuls-commits mailing list