[Mpuls-commits] r1340 - wasko/branches/2.0/mpulsweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Feb 9 09:46:53 CET 2010


Author: torsten
Date: 2010-02-09 09:46:52 +0100 (Tue, 09 Feb 2010)
New Revision: 1340

Modified:
   wasko/branches/2.0/mpulsweb/controllers/usersettings.py
Log:
* mpulsweb/controllers/usersettings.py 
  (UsersettingsController.changePasswordOnLoginAction): Changed c-vars
  to set the title and text in dialogs.


Modified: wasko/branches/2.0/mpulsweb/controllers/usersettings.py
===================================================================
--- wasko/branches/2.0/mpulsweb/controllers/usersettings.py	2010-02-09 08:31:53 UTC (rev 1339)
+++ wasko/branches/2.0/mpulsweb/controllers/usersettings.py	2010-02-09 08:46:52 UTC (rev 1340)
@@ -127,8 +127,8 @@
                     session_user.needs_passrefresh = False
                     session['USER_AUTHORIZED'] = session_user
                     session.save()
-                    c.success_for = SET_PASSWORD_NOTIFICATION_HEADER
-                    c.success_text = SET_PASSWORD_NOTIFICATION_TEXT
+                    c.dialog_title = SET_PASSWORD_NOTIFICATION_HEADER
+                    c.dialog_text = SET_PASSWORD_NOTIFICATION_TEXT
                     c.url_ok = h.url_for(controller="usersettings",
                                          action="showSettings",
                                          id=session_user.id)



More information about the Mpuls-commits mailing list