X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e434cb154c5ccecd7fc0ce672e4de79bd9e7e06f..c819bec8b7b81fb2766a67247440375e4a837d10:/app/views/user/account.html.erb diff --git a/app/views/user/account.html.erb b/app/views/user/account.html.erb index 93ee79cb6..ab74e3780 100644 --- a/app/views/user/account.html.erb +++ b/app/views/user/account.html.erb @@ -5,7 +5,7 @@ <% content_for :heading do %>

<%= t 'user.account.my settings' %>

<% end %> @@ -22,7 +22,7 @@
- + <%= t 'user.account.email never displayed publicly' %>
@@ -48,7 +48,7 @@
- <%= f.select :auth_provider, { "None" => "", "OpenID" => "openid" } %> + <%= f.select :auth_provider, Auth::PROVIDERS %> <%= f.text_field :auth_uid %> (<%= t 'user.account.openid.link text' %>)
@@ -58,7 +58,7 @@
- <% if @user.data_public? %> + <% if current_user.data_public? %> <%= t 'user.account.public editing.enabled' %> (<%= t 'user.account.public editing.enabled link text' %>) <% else %> @@ -71,10 +71,10 @@
- <% if @user.terms_agreed? %> + <% if current_user.terms_agreed? %> <%= t 'user.account.contributor terms.agreed' %> (<%= t 'user.account.contributor terms.link text' %>) - <% if @user.consider_pd? %> + <% if current_user.consider_pd? %> <%= t 'user.account.contributor terms.agreed_with_pd' %> <% end %> <% else %> @@ -102,21 +102,21 @@
- <%= user_image @user %> + <%= user_image current_user %>
    - <% if @user.image.file? %> + <% if current_user.image.file? %>
  • - <%= radio_button_tag "image_action", "keep", !@user.image_use_gravatar %> + <%= radio_button_tag "image_action", "keep", !current_user.image_use_gravatar %>
  • <% end %> - <% if @user.image.file? || @user.image_use_gravatar? %> + <% if current_user.image.file? || current_user.image_use_gravatar? %>
  • <%= radio_button_tag "image_action", "delete" %>
  • <% end %> - <% if @user.image.file? %> + <% if current_user.image.file? %>
  • <%= radio_button_tag "image_action", "new" %>
  • <% end %>
  • - <%= radio_button_tag "image_action", "gravatar", @user.image_use_gravatar %> + <%= radio_button_tag "image_action", "gravatar", current_user.image_use_gravatar %>