]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/edit.rhtml
Check API status correctly.
[rails.git] / app / views / site / edit.rhtml
index b1c5555866a69b957cb9a39b224833911600ccfb..7d07895f8e889b879e7e650d321f9d82f8a62435 100644 (file)
@@ -1,4 +1,4 @@
-<% if API_READONLY %>
+<% if API_STATUS != :online %>
 <p>The OpenStreetMap database is currently in read-only mode while
    essential database maintenance work is carried out.
 </p>