X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d36fab2913d10bef4eae2cee7c34875f20311af9..49a45b1c52b9cc8bbfcd6f4e6c93adac912d95a1:/app/views/user/view.html.erb?ds=sidebyside diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb index b333b5c67..4cb2b9e5a 100644 --- a/app/views/user/view.html.erb +++ b/app/views/user/view.html.erb @@ -1,4 +1,4 @@ -<%= user_image @this_user, :style => "float: right" %> +<%= user_image @this_user %>
<%= t 'user.view.email address' %> <%= @this_user.email %>
<%= t 'user.view.created from' %> <%= @this_user.creation_ip %>
+<%= t 'user.view.status' %> <%= @this_user.status.capitalize %>
+<%= t 'user.view.spam score' %> <%= @this_user.spam_score %>
<% end %>- <%= t 'user.view.if set location', :settings_link => (link_to t('user.view.settings_link_text'), :controller => 'user', :action => 'account', :display_name => @user.display_name) %> -
+<%= raw(t 'user.view.if set location', :settings_link => (link_to t('user.view.settings_link_text'), :controller => 'user', :action => 'account', :display_name => @user.display_name)) %>
<% else %> - <%= render :partial => 'map' %> + <%= render :partial => 'map', :locals => { :setting_location => false, :show_other_users => true } %> <% end %>