X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/615a6693457e01679cdbe4b3e69b1b121ae7a1de..8ecbe9b07d60828c4d20fbf329696c12bd23b917:/app/views/accounts/edit.html.erb diff --git a/app/views/accounts/edit.html.erb b/app/views/accounts/edit.html.erb index e31c5e90d..ce7dd97a8 100644 --- a/app/views/accounts/edit.html.erb +++ b/app/views/accounts/edit.html.erb @@ -29,31 +29,22 @@ (" target="_new"><%= t ".openid.link text" %>) -
- - - <% if current_user.data_public? %> - <%= t ".public editing.enabled" %> - (" target="_new"><%= t ".public editing.enabled link text" %>) - <% else %> - <%= t ".public editing.disabled" %> - (<%= t ".public editing.disabled link text" %>) - <% end %> - -
- -
- +
+ <% if current_user.terms_agreed? %> <%= t ".contributor terms.agreed" %> (" target="_new"><%= t ".contributor terms.link text" %>) +
<% if current_user.consider_pd? %> <%= t ".contributor terms.agreed_with_pd" %> + <% else %> + <%= t ".contributor terms.not_agreed_with_pd" %> + (<%= link_to t(".contributor terms.pd_link_text"), account_pd_declaration_path %>) <% end %> <% else %> <%= t ".contributor terms.not yet agreed" %> - <%= link_to t(".contributor terms.review link text"), :controller => "users", :action => "terms" %> + <%= link_to t(".contributor terms.review link text"), account_terms_path %> <% end %>