X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/9153fd3559bea49d29b44a27e6fb4123dd103c25..a2ad08b2e213cfd56676bc8251147f25aef63984:/app/views/site/edit.html.erb diff --git a/app/views/site/edit.html.erb b/app/views/site/edit.html.erb index 769526e45..1dba95e5d 100644 --- a/app/views/site/edit.html.erb +++ b/app/views/site/edit.html.erb @@ -5,7 +5,7 @@

<%= t "layouts.osm_read_only" %>

<% elsif !current_user.data_public? %>

<%= t ".not_public" %>

-

<%= raw t ".not_public_description", :user_page => (link_to t(".user_page_link"), user_path(current_user, :anchor => "public")) %>

+

<%= raw t ".not_public_description", :user_page => (link_to t(".user_page_link"), :controller => "users", :action => "account", :display_name => current_user.display_name, :anchor => "public") %>

<%= raw t "site.edit.anon_edits", :link => link_to(t(".anon_edits_link_text"), t(".anon_edits_link")) %>

<% else %> <%= render :partial => preferred_editor %>