Check API status correctly.

This commit is contained in:
Tom Hughes 2007-09-21 08:13:17 +00:00
parent 9c01c4cb63
commit 734697ebb6
2 changed files with 2 additions and 2 deletions

View file

@ -67,7 +67,7 @@
</div>
<% end %>
<% if API_READONLY %>
<% if API_STAUS != :online %>
<div id="alert">
The OpenStreetMap database is currently in read-only mode while
essential database maintenance work is carried out.

View 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>