X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6fb857020092c909043c4521b91a040f3bb16937..601d28d4b4ccd33ee6893fa2a73e41d57ca02b23:/app/views/site/offline.html.erb 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 %>