Mercurial > public > src > rhodecode
diff pylons_app/controllers/admin/settings.py @ 429:9416269860c9
little css update, and flash messages
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 06 Aug 2010 02:49:53 +0200 |
parents | e8af467b5a60 |
children | 0dd10d431d2f 3ed2d46a2ca7 |
line wrap: on
line diff
--- a/pylons_app/controllers/admin/settings.py Fri Aug 06 02:40:57 2010 +0200 +++ b/pylons_app/controllers/admin/settings.py Fri Aug 06 02:49:53 2010 +0200 @@ -175,7 +175,7 @@ self.sa.add(hgsettings4) self.sa.commit() - h.flash(_('Updated application settings'), + h.flash(_('Updated mercurial settings'), category='success') except: @@ -253,7 +253,8 @@ try: form_result = _form.to_python(dict(request.POST)) user_model.update_my_account(uid, form_result) - h.flash(_('Your account was updated succesfully'), category='success') + h.flash(_('Your account was updated succesfully'), + category='success') except formencode.Invalid as errors: #c.user = self.sa.query(User).get(c.hg_app_user.user_id)