X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/c321c026f265c6c2b25a3d564232a12f6ca48c0a..a0a6dd36190788b89c5d97f981b4e9b563eb385e:/app/views/site/edit.rhtml diff --git a/app/views/site/edit.rhtml b/app/views/site/edit.rhtml index daa78f3b9..372a70d3b 100644 --- a/app/views/site/edit.rhtml +++ b/app/views/site/edit.rhtml @@ -2,14 +2,14 @@

The OpenStreetMap database is currently offline while essential database maintenance work is carried out.

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

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

<% elsif !@user.data_public? %>

You haven't set your edits to be public.

-

You can't use the online editor unless you do so. You can set your edits as public from your -<%= link_to 'user page', {:controller => 'user', :action => 'account', :display_name => @user.display_name}%>.

+

You can no longer edit the map unless you do so. You can set your edits as public from your +<%= link_to 'user page', {:controller => 'user', :action => 'account', :display_name => @user.display_name, :anchor => 'public'}%>.

(Find out why this is the case.)

<% else %> <% content_for :greeting do %> @@ -75,6 +75,8 @@ zoom='14' if zoom.nil? } } + function markChanged(a) { changesaved=a; } + function doSWF(lat,lon,sc) { if (sc < 11) sc = 11; fo.addVariable('scale',sc);