]> git.openstreetmap.org Git - rails.git/commit
Add :warning and :error flash messages which can be styled separately to
authorTom Hughes <tom@compton.nu>
Sun, 1 Nov 2009 13:07:46 +0000 (13:07 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 1 Nov 2009 13:07:46 +0000 (13:07 +0000)
commite23744bd8dbdd9c0beef84e8920fc258f332197c
treef60175410011c4e98f5eac1f5604d4a9ea668992
parent2541ad0f099a934b8ad3c2bdc085c89919407fa0
Add :warning and :error flash messages which can be styled separately to
the existing :notice messages.

Also reviewd all existing flash messages and changed them to be errors or
warnings when appropriate and checked that those which are not followed by
a redirect are done as flash.now[] instead of flash[].
app/controllers/application_controller.rb
app/controllers/message_controller.rb
app/controllers/trace_controller.rb
app/controllers/user_blocks_controller.rb
app/controllers/user_controller.rb
app/controllers/user_roles_controller.rb
app/views/layouts/site.html.erb
public/stylesheets/common.css