X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/edaddbedaec78a252e988e2271962407e64483fd..9401e451d18d34ad8fd27161e66496171dbed54f:/app/views/site/offline.html.erb diff --git a/app/views/site/offline.html.erb b/app/views/site/offline.html.erb index b960ab66d..8e7b431a8 100644 --- a/app/views/site/offline.html.erb +++ b/app/views/site/offline.html.erb @@ -1,7 +1,7 @@ -<% if OSM_STATUS == :database_offline %> -

<%= t 'layouts.osm_offline' %> +<% if Settings.status == "database_offline" %> +

<%= t "layouts.osm_offline" %>

<% else %> -

<%= t 'layouts.osm_read_only' %> +

<%= t "layouts.osm_read_only" %>

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