diff --git a/app/views/site/edit.rhtml b/app/views/site/edit.rhtml index 8ff98a3b1..de2764115 100644 --- a/app/views/site/edit.rhtml +++ b/app/views/site/edit.rhtml @@ -6,6 +6,11 @@
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}%>.
+(Find out why this is the case.)
<% else %> <% content_for :greeting do %> <% if @user and !@user.home_lon.nil? and !@user.home_lat.nil? %> @@ -91,15 +96,5 @@ window.onresize = handleResize; window.onload = handleResize; - -<% unless @user.data_public? %> - var warningtext ="You haven't set your edits to be public.
From mid-November, you will no longer be able to use the online editor unless you do so. You can set your edits as public from your "; - var warningtext=warningtext+'<%= link_to 'user page', {:controller => 'user', :action => 'account', :display_name => @user.display_name}%>.
'; - var warningtext=warningtext+'