X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/5620d7263a36fe842f4d97bc21dda5edd0651b37..46d529135013091286f3931223b387c571aecdb9:/app/views/site/edit.rhtml diff --git a/app/views/site/edit.rhtml b/app/views/site/edit.rhtml index ac54cb5e5..7f542bb60 100644 --- a/app/views/site/edit.rhtml +++ b/app/views/site/edit.rhtml @@ -1,8 +1,8 @@ -<% if API_STATUS == :offline %> +<% if OSM_STATUS == :database_offline or OSM_STATUS == :api_offline %>

The OpenStreetMap database is currently offline while essential database maintenance work is carried out.

-<% elsif API_STATUS == :readonly %> +<% elsif OSM_STATUS == :api_readonly %>

The OpenStreetMap database is currently in read-only mode while essential database maintenance work is carried out.

@@ -48,7 +48,7 @@ <%= javascript_include_tag 'swfobject.js' %>