X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f07819d81a7437e58c6e64c2e76ba7e54fad9034..81c244e273690c89eb820709f76d26b67bdc62bb:/app/views/site/offline.html.erb?ds=inline diff --git a/app/views/site/offline.html.erb b/app/views/site/offline.html.erb index 34a2eacc5..8e7b431a8 100644 --- a/app/views/site/offline.html.erb +++ b/app/views/site/offline.html.erb @@ -1,7 +1,7 @@ -<% if 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 %>