]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/edit.rhtml
Merge changes from trunk 7673:8632.
[rails.git] / app / views / site / edit.rhtml
index afd33e4ae1cbb1371dfec634cfae140374d6ea57..a3896bc4824ea99966f5850592fb100c3ed1ac76 100644 (file)
@@ -1,8 +1,8 @@
-<% if API_STATUS == :offline %>
+<% if OSM_STATUS == :database_offline or OSM_STATUS == :api_offline %>
 <p>The OpenStreetMap database is currently offline while
    essential database maintenance work is carried out.
 </p>
-<% elsif API_STATUS == :readonly %>
+<% elsif OSM_STATUS == :api_readonly %>
 <p>The OpenStreetMap database is currently in read-only mode while
    essential database maintenance work is carried out.
 </p>