[Mpuls-commits] r2368 - wasko/branches/2.0/mpulsweb/lib

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


Author: torsten
Date: 2010-04-15 12:21:04 +0200 (Thu, 15 Apr 2010)
New Revision: 2368

Modified:
   wasko/branches/2.0/mpulsweb/lib/config.py
Log:
* mpulsweb/lib/config.py: Added new config option "remindconditon"
	which must be true to generate automatic reminders.


Modified: wasko/branches/2.0/mpulsweb/lib/config.py
===================================================================
--- wasko/branches/2.0/mpulsweb/lib/config.py	2010-04-15 10:19:44 UTC (rev 2367)
+++ wasko/branches/2.0/mpulsweb/lib/config.py	2010-04-15 10:21:04 UTC (rev 2368)
@@ -169,6 +169,12 @@
         #
         set('case', 'fields', [])
 
+        # On default MaxSaveTimeReminders will be generated after x-days from
+        # last accesstime (defined in the agency configuration). Here you can
+        # define another condition which must evaluate to TRUE or FALSE in SQL
+        # manner. 
+        set('case', 'remindercondition', 'TRUE')
+
         # Rendering of repeated formed pages
         #
         # Some repeat groups define entire repeated formed pages.  These



More information about the Mpuls-commits mailing list