X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/891a337b329b5628079489c65724a23961b7613c..42822a8b89443d5fa6ec815d82684698d2d80b07:/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 0a182861e..8aa4ead49 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) %>