X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1f8a68371ad34594cce4aadf5fef229588fd4ddc..04d0f45845f19b538465c7039926ffdaebdabfc3:/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'}%>.
<% 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);