X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cf9f5ba9333ac2dee444bdb5d4e20523061de184..40414cf324309d13d207f9339b7f40ce05a9fa2a:/app/views/site/edit.rhtml diff --git a/app/views/site/edit.rhtml b/app/views/site/edit.rhtml index afd33e4ae..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' %>