[Mpuls-commits] r4841 - in base/trunk: . mpulsweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Mar 31 12:58:14 CEST 2011


Author: ludwig
Date: 2011-03-31 12:58:13 +0200 (Thu, 31 Mar 2011)
New Revision: 4841

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/controllers/case.py
Log:
Bugfix of the case.py dialog.

Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2011-03-31 09:49:24 UTC (rev 4840)
+++ base/trunk/ChangeLog	2011-03-31 10:58:13 UTC (rev 4841)
@@ -1,5 +1,10 @@
 2011-03-31  Ludwig Reiter <ludwig.reiter at intevation.de>
 
+	* mpulsweb/controllers/case.py:
+	Bugfix of the case.py dialog.
+
+2011-03-31  Ludwig Reiter <ludwig.reiter at intevation.de>
+
 	* mpulsweb/i18n/mpulsweb.pot
 	mpulsweb/i18n/de/LC_MESSAGES/mpulsweb.po
 	mpulsweb/lib/security.py:

Modified: base/trunk/mpulsweb/controllers/case.py
===================================================================
--- base/trunk/mpulsweb/controllers/case.py	2011-03-31 09:49:24 UTC (rev 4840)
+++ base/trunk/mpulsweb/controllers/case.py	2011-03-31 10:58:13 UTC (rev 4841)
@@ -270,8 +270,8 @@
         case = self._loadCase(id)
         if confirmed == 1:
             case.restore()
-            c.dialog_title = ${_(u'Case restored!')}
-            c.dialog_text = ${_(u'Please click OK to continue.')}
+            c.dialog_title = _(u'Case restored!')
+            c.dialog_text = _(u'Please click OK to continue.')
             c.url_ok = h.url_for(controller="/case_overview")
             return render('/casemanagement/dialogs/success_restore.mako')
         else:



More information about the Mpuls-commits mailing list