]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/offline.html.erb
Merge remote-tracking branch 'upstream/pull/2450'
[rails.git] / app / views / site / offline.html.erb
index 34a2eacc54a0ab4883f4b417ac979f057f0cac0c..8e7b431a8fe1f259e6f84755b220778137f685c1 100644 (file)
@@ -1,7 +1,7 @@
-<% if STATUS == :database_offline %>
-<p><%= t 'layouts.osm_offline' %>
+<% if Settings.status == "database_offline" %>
+<p><%= t "layouts.osm_offline" %>
 </p>
 <% else %>
-<p><%= t 'layouts.osm_read_only' %>
+<p><%= t "layouts.osm_read_only" %>
 </p>
-<% end  %>
+<% end %>