[Mpuls-commits] r2372 - wasko/branches/2.0

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Apr 15 12:30:24 CEST 2010


Author: torsten
Date: 2010-04-15 12:30:23 +0200 (Thu, 15 Apr 2010)
New Revision: 2372

Modified:
   wasko/branches/2.0/ChangeLog
Log:
Updated ChangeLog


Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog	2010-04-15 10:30:03 UTC (rev 2371)
+++ wasko/branches/2.0/ChangeLog	2010-04-15 10:30:23 UTC (rev 2372)
@@ -33,6 +33,17 @@
 	* mpulsweb/model/appointment.py: Renamed "__" private functions.
 	* mpulsweb/controllers/mpuls.py: Moved functions to get news,
 	appointments and reminder into the MpulsController.
+	* mpulsweb/model/case.py (MpulsCaseState.check_remindcondition): New.
+	Returns True is remindcondition is true.
+	* mpulsweb/model/case.py (MpulsCaseState.daysToMaxSavetime): On return
+	real days to maxsavetime if remind condtion is true. else return fake
+	15 days to prevent showing counting days until reminder generation in
+	template.
+	* mpulsweb/lib/config.py: Added new config option "remindconditon"
+	which must be true to generate automatic reminders.
+	* mpulsweb/model/appointment.py (Appointment.oldAndActive),
+	(Appointment.oldAndFinished): Also check remindconditon. 
+	* jmd.json: Added new option remindercondition
 
 2010-04-14  Roland Geider <roland.geider at intevation.de>
 	



More information about the Mpuls-commits mailing list