]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/site.rhtml
Capitalise German message correctly.
[rails.git] / app / views / layouts / site.rhtml
index 7283ebb32c6ad8bfcc0a399d3b0760d61d25c026..52e7b6b242847869e54c8feb7f2f1ab9530c74bb 100644 (file)
       </div>
       <% end %>
 
-      <% if API_STATUS == :offline %>
+      <% if OSM_STATUS == :database_offline or OSM_STATUS == :api_offline %>
       <div id="alert">
         The OpenStreetMap database is currently offline while
         essential database maintenance work is carried out.
       </div>
-      <% elsif API_STATUS == :readonly %>
+      <% elsif OSM_STATUS == :api_readonly %>
       <div id="alert">
         The OpenStreetMap database is currently in read-only mode while
         essential database maintenance work is carried out.