X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/734697ebb6cc27057fd8bb1d078a175ca5f45406..c3424e9cfb2542dedbf545a76d4ddb591c59df3d:/app/views/layouts/site.rhtml diff --git a/app/views/layouts/site.rhtml b/app/views/layouts/site.rhtml index ef11b5c0b..f3cdc9787 100644 --- a/app/views/layouts/site.rhtml +++ b/app/views/layouts/site.rhtml @@ -67,7 +67,12 @@ <% end %> - <% if API_STAUS != :online %> + <% 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.