X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/2e202460e606e079fe422eb477c863e95e532687..79276fb43abc429cd5515f81005281e303a16dd8:/app/views/site/edit.html.erb diff --git a/app/views/site/edit.html.erb b/app/views/site/edit.html.erb index 779abd352..e5bffd1e4 100644 --- a/app/views/site/edit.html.erb +++ b/app/views/site/edit.html.erb @@ -1,7 +1,7 @@ -<% if OSM_STATUS == :database_offline or OSM_STATUS == :api_offline %> +<% if STATUS == :database_offline or STATUS == :api_offline %>

<%= t 'layouts.osm_offline' %>

-<% elsif OSM_STATUS == :database_readonly or OSM_STATUS == :api_readonly %> +<% elsif STATUS == :database_readonly or STATUS == :api_readonly %>

<%= t 'layouts.osm_read_only' %>

<% elsif !@user.data_public? %>