diff --git a/app/views/layouts/standard.html.erb b/app/views/layouts/standard.html.erb index 2eb70882..611ccdc7 100644 --- a/app/views/layouts/standard.html.erb +++ b/app/views/layouts/standard.html.erb @@ -40,9 +40,7 @@
- <% if RAILS_ENV != "production" -%> -
 
- <% end -%> + <%= NOTIFY_BAR %>

diff --git a/config/environment.rb b/config/environment.rb index 1fc8f03b..61db438c 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -107,6 +107,9 @@ if ( SITE_CONFIG['authentication_schemes'].include? 'cas') end end +# changed in development.rb to show under_construction bar +NOTIFY_BAR = "" unless defined?(NOTIFY_BAR) + tracks_version='2.1devel' # comment out next two lines if you do not want (or can not) the date of the # last git commit in the footer diff --git a/config/environments/development.rb b/config/environments/development.rb index c30f67cf..05c880d7 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -14,4 +14,6 @@ config.action_controller.perform_caching = false config.action_mailer.raise_delivery_errors = false # Unique cookies -config.action_controller.session = { :key => 'TracksDev' } \ No newline at end of file +config.action_controller.session = { :key => 'TracksDev' } + +NOTIFY_BAR="
 
"