]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/site.rhtml
Improving friend capabilities so you can now add and remove friends as you wish....
[rails.git] / app / views / layouts / site.rhtml
index ef11b5c0b1e55199701f2cd6c27f33f0887e8058..f3cdc97873b41628185289a75e65a223fcae2354 100644 (file)
       </div>
       <% end %>
 
-      <% if API_STAUS != :online %>
+      <% if API_STATUS == :offline %>
+      <div id="alert">
+        The OpenStreetMap database is currently offline while
+        essential database maintenance work is carried out.
+      </div>
+      <% elsif API_STATUS == :readonly %>
       <div id="alert">
         The OpenStreetMap database is currently in read-only mode while
         essential database maintenance work is carried out.