X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/6cd8db7bff35f8b401eb904e4c24936d8fc09a0a..3db4ac9a8e8dd94bc288e98ff353452e401d0a59:/app/views/layouts/site.rhtml diff --git a/app/views/layouts/site.rhtml b/app/views/layouts/site.rhtml index 3c84dc47f..f3cdc9787 100644 --- a/app/views/layouts/site.rhtml +++ b/app/views/layouts/site.rhtml @@ -67,7 +67,12 @@ <% end %> - <% if API_READONLY %> + <% if API_STATUS == :offline %> +
+ The OpenStreetMap database is currently offline while + essential database maintenance work is carried out. +
+ <% elsif API_STATUS == :readonly %>
The OpenStreetMap database is currently in read-only mode while essential database maintenance work is carried out.