X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0d3a9ed9cb47ce3b89ea9eaffbb589f9a9ff6d22..5dda4196d50774e8a44e9e137d45141d4151764b:/app/views/user/account.html.erb diff --git a/app/views/user/account.html.erb b/app/views/user/account.html.erb index cdd3160e8..2782fc808 100644 --- a/app/views/user/account.html.erb +++ b/app/views/user/account.html.erb @@ -1,7 +1,10 @@ -
<%= user_image @user %> | -<%= radio_button_tag "image_action", "keep", true %> | -<%= t 'user.account.keep image' %> | -
<%= radio_button_tag "image_action", "delete" %> | -<%= t 'user.account.delete image' %> | -|
<%= radio_button_tag "image_action", "new" %> | -<%= t 'user.account.replace image' %> <%= f.file_field :image, :onchange => "$('image_action_new').prop('checked', true)" %> <%= t 'user.account.image size hint' %> |
-
<%= radio_button_tag "image_action", "keep", !@user.image_use_gravatar %> | +<%= t 'user.account.keep image' %> | +
<%= radio_button_tag "image_action", "delete" %> | +<%= t 'user.account.delete image' %> | +
<%= radio_button_tag "image_action", "new" %> | +<%= t 'user.account.replace image' %> <%= f.file_field :image, :onchange => "$('#image_action_new').prop('checked', true)" %> <%= t 'user.account.image size hint' %> |
+
<%= radio_button_tag "image_action", "new" %> | +<%= t 'user.account.new image' %> <%= f.file_field :image, :onchange => "$('#image_action_new').prop('checked', true)" %> <%= t 'user.account.image size hint' %> |
+
<%= radio_button_tag "image_action", "gravatar", @user.image_use_gravatar %> | +<%= t 'user.account.gravatar.gravatar' %> (<%= t 'user.account.gravatar.link text' %>) | +
<%= t 'user.account.update home location on click' %> checked="checked" <% end %> id="updatehome" />
- + <% content_for :head do %> + <%= javascript_include_tag "user" %> + <% end %> + <%= content_tag "div", "", :id => "map", :class => "content_map settings_map set_location" %>