X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/516aef5d07eaaad43311bc60018648b952d95a1d..78e6578daaa8171c86c67d1046095fcaa1f6e919:/app/views/site/edit.rhtml diff --git a/app/views/site/edit.rhtml b/app/views/site/edit.rhtml index ceb4702d4..8ff98a3b1 100644 --- a/app/views/site/edit.rhtml +++ b/app/views/site/edit.rhtml @@ -90,5 +90,16 @@ 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+'