X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/acd72861ed8ad46d759a6e509f3e7c459db1a4f5..3e8d8092500a3713e8dfbb4fd61fd8a95d067d20:/app/views/user/_contact.html.erb diff --git a/app/views/user/_contact.html.erb b/app/views/user/_contact.html.erb index be1c24106..f019ccf15 100644 --- a/app/views/user/_contact.html.erb +++ b/app/views/user/_contact.html.erb @@ -1,10 +1,6 @@ - <% if contact.image %> - <%= image_tag url_for_file_column(contact, "image"), :class => "user_thumbnail" %> - <% else %> - <%= image_tag "anon_small.png" %> - <% end %> + <%= user_thumbnail contact %> <%= link_to h(contact.display_name), :controller => 'user', :action => 'view', :display_name => contact.display_name %>