From 734697ebb6cc27057fd8bb1d078a175ca5f45406 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 21 Sep 2007 08:13:17 +0000 Subject: [PATCH] Check API status correctly. --- app/views/layouts/site.rhtml | 2 +- app/views/site/edit.rhtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/site.rhtml b/app/views/layouts/site.rhtml index 3c84dc47f..ef11b5c0b 100644 --- a/app/views/layouts/site.rhtml +++ b/app/views/layouts/site.rhtml @@ -67,7 +67,7 @@ <% end %> - <% if API_READONLY %> + <% if API_STAUS != :online %>
The OpenStreetMap database is currently in read-only mode while essential database maintenance work is carried out. diff --git a/app/views/site/edit.rhtml b/app/views/site/edit.rhtml index b1c555586..7d07895f8 100644 --- a/app/views/site/edit.rhtml +++ b/app/views/site/edit.rhtml @@ -1,4 +1,4 @@ -<% if API_READONLY %> +<% if API_STATUS != :online %>

The OpenStreetMap database is currently in read-only mode while essential database maintenance work is carried out.

-- 2.43.2