[Mpuls-commits] r746 - in waska/trunk: . waskaweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Jan 11 17:25:14 CET 2010


Author: torsten
Date: 2010-01-11 17:25:12 +0100 (Mon, 11 Jan 2010)
New Revision: 746

Modified:
   waska/trunk/ChangeLog.txt
   waska/trunk/waskaweb/controllers/case.py
Log:
Issue916


Modified: waska/trunk/ChangeLog.txt
===================================================================
--- waska/trunk/ChangeLog.txt	2010-01-11 12:58:44 UTC (rev 745)
+++ waska/trunk/ChangeLog.txt	2010-01-11 16:25:12 UTC (rev 746)
@@ -6,6 +6,10 @@
 	  waskaweb/templates/casemanagement/caselist.mako: Added "empty" icon
 	  if phase is not set.
 
+	Issue916:
+
+	* controllers/case.py: Display type of cases correctly in printouts
+
 2010-01-08 	Frank Koormann <frank.koormann at intevation.de>
 
 	* waskaweb/model/appointment.py, waskaweb/model/phases_factory.py:

Modified: waska/trunk/waskaweb/controllers/case.py
===================================================================
--- waska/trunk/waskaweb/controllers/case.py	2010-01-11 12:58:44 UTC (rev 745)
+++ waska/trunk/waskaweb/controllers/case.py	2010-01-11 16:25:12 UTC (rev 746)
@@ -327,6 +327,9 @@
         id = self._checkInt(id)
         empty = self._checkBool(empty)
         case = self._loadCase(id)
+        c.phase = case.getState().getPhase()
+        # call self.phase to get phase_pairs
+        self.phase(id)
         formular = []
         c.print_version = 1
         # First page is print version of the digest ()



More information about the Mpuls-commits mailing list