[Mpuls-commits] r6125 - in base/trunk/mpulsweb: model templates/settings

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Tue Oct 16 16:51:27 CEST 2012


Author: roland
Date: 2012-10-16 16:51:27 +0200 (Tue, 16 Oct 2012)
New Revision: 6125

Modified:
   base/trunk/mpulsweb/model/appointment.py
   base/trunk/mpulsweb/templates/settings/edit.mako
Log:
Update strings

Modified: base/trunk/mpulsweb/model/appointment.py
===================================================================
--- base/trunk/mpulsweb/model/appointment.py	2012-10-16 14:49:43 UTC (rev 6124)
+++ base/trunk/mpulsweb/model/appointment.py	2012-10-16 14:51:27 UTC (rev 6125)
@@ -734,14 +734,15 @@
         if percentage_value >= threshold_higher:
             make_appointment = True
             reminder_title = _('You have exeeded the job percentage threshold')
-            reminder_description = _('Please check yout cases, you have exceeded the threshold \
-            by a wide margin.')
+            reminder_description = _('Attention. The case key (job percentage \
+            to active cases in case management) is considerably under the threshold.')
         
         # Check for the second threshold
         if not make_appointment and percentage_value >= threshold_lower:
             make_appointment = True
             reminder_title = _('You have exeeded the job percentage threshold')
-            reminder_description = _('Please check yout cases, you have exceeded the threshold.')
+            reminder_description = _('Notice: The case key (job percenatage \
+            to active cases in case management) is under the threshold.')
         
         # There is something to report, make an appointment
         if make_appointment:
@@ -749,6 +750,7 @@
 
             
             appointment = factory.createByData(title = reminder_title,
+                                sdate = datetime.today(),
                                 desc = reminder_description,
                                 type = 2)
 

Modified: base/trunk/mpulsweb/templates/settings/edit.mako
===================================================================
--- base/trunk/mpulsweb/templates/settings/edit.mako	2012-10-16 14:49:43 UTC (rev 6124)
+++ base/trunk/mpulsweb/templates/settings/edit.mako	2012-10-16 14:51:27 UTC (rev 6125)
@@ -93,7 +93,7 @@
           </label>
           <input type="text" id="job_percentage" name="job_percentage" value="" maxlength="120"/>
           <p class="info">
-            ${_('Description help comes here')}
+            ${_('On changes to this value an email is sent to the Servicestelle Jugendsozialarbeit')}
           </p>
         </div>
       </fieldset>



More information about the Mpuls-commits mailing list