Improve alert messages when database is offline.

This commit is contained in:
Tom Hughes 2007-09-21 09:49:28 +00:00
parent dcad582741
commit 5cd05017a3
2 changed files with 11 additions and 2 deletions

View file

@ -1,4 +1,8 @@
<% if API_STATUS != :online %>
<% if API_STATUS == :offline %>
<p>The OpenStreetMap database is currently offline while
essential database maintenance work is carried out.
</p>
<% elsif API_STATUS == :readonly %>
<p>The OpenStreetMap database is currently in read-only mode while
essential database maintenance work is carried out.
</p>