##// END OF EJS Templates
little css update, and flash messages
marcink -
r396:94162698 default
parent child Browse files
Show More
@@ -175,7 +175,7 b' class SettingsController(BaseController)'
175 self.sa.add(hgsettings4)
175 self.sa.add(hgsettings4)
176 self.sa.commit()
176 self.sa.commit()
177
177
178 h.flash(_('Updated application settings'),
178 h.flash(_('Updated mercurial settings'),
179 category='success')
179 category='success')
180
180
181 except:
181 except:
@@ -253,7 +253,8 b' class SettingsController(BaseController)'
253 try:
253 try:
254 form_result = _form.to_python(dict(request.POST))
254 form_result = _form.to_python(dict(request.POST))
255 user_model.update_my_account(uid, form_result)
255 user_model.update_my_account(uid, form_result)
256 h.flash(_('Your account was updated succesfully'), category='success')
256 h.flash(_('Your account was updated succesfully'),
257 category='success')
257
258
258 except formencode.Invalid as errors:
259 except formencode.Invalid as errors:
259 #c.user = self.sa.query(User).get(c.hg_app_user.user_id)
260 #c.user = self.sa.query(User).get(c.hg_app_user.user_id)
@@ -1252,7 +1252,7 b' div.options a:hover'
1252
1252
1253 #content div.box div.form div.fields div.field div.label-checkbox
1253 #content div.box div.form div.fields div.field div.label-checkbox
1254 {
1254 {
1255 padding: 0 0 0 5px;
1255 padding:0 0 0 5px !important;
1256 }
1256 }
1257
1257
1258 /* -----------------------------------------------------------
1258 /* -----------------------------------------------------------
@@ -1261,7 +1261,7 b' div.options a:hover'
1261
1261
1262 #content div.box div.form div.fields div.field div.label-radio
1262 #content div.box div.form div.fields div.field div.label-radio
1263 {
1263 {
1264 padding: 0 0 0 5px;
1264 padding:0 0 0 5px !important;
1265 }
1265 }
1266
1266
1267 /* -----------------------------------------------------------
1267 /* -----------------------------------------------------------
@@ -1270,13 +1270,13 b' div.options a:hover'
1270
1270
1271 #content div.box div.form div.fields div.field div.label-textarea
1271 #content div.box div.form div.fields div.field div.label-textarea
1272 {
1272 {
1273 padding: 0 0 0 5px;
1273 padding:0 0 0 5px !important;
1274 }
1274 }
1275
1275
1276 #content div.box-left div.form div.fields div.field div.label-textarea,
1276 #content div.box-left div.form div.fields div.field div.label-textarea,
1277 #content div.box-right div.form div.fields div.field div.label-textarea
1277 #content div.box-right div.form div.fields div.field div.label-textarea
1278 {
1278 {
1279 padding: 0 0 8px 0;
1279 padding: 0 0 8px 0 !important;
1280 }
1280 }
1281
1281
1282 /* -----------------------------------------------------------
1282 /* -----------------------------------------------------------
General Comments 0
You need to be logged in to leave comments. Login now