Changeset - 9416269860c9
[Not reviewed]
default
0 2 0
Marcin Kuzminski - 15 years ago 2010-08-06 02:49:53
marcin@python-works.com
little css update, and flash messages
2 files changed with 7 insertions and 6 deletions:
0 comments (0 inline, 0 general)
pylons_app/controllers/admin/settings.py
Show inline comments
 
@@ -175,7 +175,7 @@ class SettingsController(BaseController)
 
                    self.sa.add(hgsettings4)
 
                    self.sa.commit()
 
                    
 
                    h.flash(_('Updated application settings'),
 
                    h.flash(_('Updated mercurial settings'),
 
                            category='success')
 
                                    
 
                except:
 
@@ -253,7 +253,8 @@ class SettingsController(BaseController)
 
        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)
pylons_app/public/css/style.css
Show inline comments
 
@@ -1252,7 +1252,7 @@ div.options a:hover
 
 
#content div.box div.form div.fields div.field div.label-checkbox
 
{
 
	padding: 0 0 0 5px;
 
	padding:0 0 0 5px !important;
 
}
 
 
/* -----------------------------------------------------------
 
@@ -1261,7 +1261,7 @@ div.options a:hover
 
 
#content div.box div.form div.fields div.field div.label-radio
 
{
 
	padding: 0 0 0 5px;
 
	padding:0 0 0 5px !important;
 
}
 
 
/* -----------------------------------------------------------
 
@@ -1270,13 +1270,13 @@ div.options a:hover
 
 
#content div.box div.form div.fields div.field div.label-textarea
 
{
 
	padding: 0 0 0 5px;
 
	padding:0 0 0 5px !important;
 
}
 
 
#content div.box-left div.form div.fields div.field div.label-textarea,
 
#content div.box-right div.form div.fields div.field div.label-textarea
 
{
 
	padding: 0 0 8px 0;
 
	padding: 0 0 8px 0 !important;
 
}
 
 
/* -----------------------------------------------------------
0 comments (0 inline, 0 general)