X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5f8ab9e9244550b20b8d3bd97b3567df7020d06d..c03c8f4749c176df8107ef8e66b9a55db9875089:/app/views/site/offline.rhtml?ds=inline diff --git a/app/views/site/offline.rhtml b/app/views/site/offline.rhtml index d97a6ca90..b960ab66d 100644 --- a/app/views/site/offline.rhtml +++ b/app/views/site/offline.rhtml @@ -1,3 +1,7 @@ -
The OpenStreetMap database is currently offline while - essential database maintenance work is carried out. +<% if OSM_STATUS == :database_offline %> +
<%= t 'layouts.osm_offline' %>
+<% else %> +<%= t 'layouts.osm_read_only' %> +
+<% end %>