]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/edit.rhtml
Add a "database readonly" state that allows all writes to the database
[rails.git] / app / views / site / edit.rhtml
index 9c3c78fda9d06771e3d6ffd09c94852de0060639..7d80a1705be3c51473f16589e7afddfcc114c5b1 100644 (file)
@@ -2,7 +2,7 @@
 <p>The OpenStreetMap database is currently offline while
    essential database maintenance work is carried out.
 </p>
-<% elsif OSM_STATUS == :api_readonly %>
+<% elsif OSM_STATUS == :database_readonly or OSM_STATUS == :api_readonly %>
 <p>The OpenStreetMap database is currently in read-only mode while
    essential database maintenance work is carried out.
 </p>