X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/c382f33e1c2e17ba00898dede1ff9c3605818f16..c91b86a1d1271c2bc801ee9dfc3a30fb2758aa9b:/app/views/user/account.rhtml diff --git a/app/views/user/account.rhtml b/app/views/user/account.rhtml index c26089671..f8047d3d8 100644 --- a/app/views/user/account.rhtml +++ b/app/views/user/account.rhtml @@ -2,13 +2,18 @@ - - + + +
id<%= @user.id %>
email<%= @user.email %>
display name<%= @user.display_name %> (<%= link_to 'change...', :controller => 'user', :action => 'rename' %>)
account created<%= @user.creation_time %>
display name<%= @user.display_name %> (<%= link_to 'change...', :controller => 'user', :action => 'edit' %>)
account created<%= @user.creation_time %> (<%= time_ago_in_words(@user.creation_time) %> ago)
description<%= simple_format(@user.description) %> (<%= link_to 'change...', :controller => 'user', :action => 'edit' %>)

Privacy

- -<%= start_form_tag :controller => 'user', :action => 'public'%> -<%= submit_tag 'Make all my edits public, forever' %> -<%= end_form_tag %> - +<% if @user.data_public? %> + All your edits are public. +<% else %> + Currently your edits are ananymous and people can't find out where you are located. To show what you edited and allow people to contact you through the website, click the button below. This action cannot be reversed. +

+ <%= start_form_tag :controller => 'user', :action => 'go_public'%> + <%= submit_tag 'Make all my edits public, forever' %> + <%= end_form_tag %> +<% end %>