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