X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2e2f2124728ca755b2db8f83f022eaea24b647f0..df495292376ecc893197bba7093bf2e558aad074:/app/views/site/offline.html.erb diff --git a/app/views/site/offline.html.erb b/app/views/site/offline.html.erb index b960ab66d..bfe0bcb9f 100644 --- a/app/views/site/offline.html.erb +++ b/app/views/site/offline.html.erb @@ -1,7 +1,7 @@ -<% if OSM_STATUS == :database_offline %> +<% if Settings.status == "database_offline" %>

<%= t 'layouts.osm_offline' %>

<% else %>

<%= t 'layouts.osm_read_only' %>

-<% end %> +<% end %>