X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/891a337b329b5628079489c65724a23961b7613c..9d35062ba3013891e44265261eaa1111ab1ebc47:/app/views/user/view.html.erb diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb index 0a182861e..77ad06a8f 100644 --- a/app/views/user/view.html.erb +++ b/app/views/user/view.html.erb @@ -1,8 +1,4 @@ -<% if @this_user.image %> - <%= image_tag url_for_file_column(@this_user, "image"), :style => "float: right; margin-top: 19px", :class => "user_image" %> -<% else %> - <%= image_tag "anon_large.png", :style => "float: right; margin-top: 19px", :class => "user_image" %> -<% end %> +<%= user_image @this_user, :style => "float: right" %>

<%= h(@this_user.display_name) %> @@ -79,7 +75,7 @@ <% end %> -

<%= t 'user.view.mapper since' %> <%= l @this_user.creation_time %> <%= t 'user.view.ago', :time_in_words_ago => time_ago_in_words(@this_user.creation_time) %>

+

<%= t 'user.view.mapper since' %> <%= l @this_user.creation_time, :format => :friendly %> <%= t 'user.view.ago', :time_in_words_ago => time_ago_in_words(@this_user.creation_time) %>

<% if @user and @user.administrator? %>

<%= t 'user.view.email address' %> <%= @this_user.email %>