X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3b1fb1c73bf1c82e29ecc8bf33e64f7985c4a8c0..f2ca25b75c57ab772a8f9063bea82a6bc43fed78:/app/views/traces/_description.html.erb?ds=sidebyside diff --git a/app/views/traces/_description.html.erb b/app/views/traces/_description.html.erb index 5fea819da..538e7f1ec 100644 --- a/app/views/traces/_description.html.erb +++ b/app/views/traces/_description.html.erb @@ -1,6 +1,6 @@ -<%= image_tag trace_icon_path(description.user, description.id) %> -<% if description.size -%> -<%= t ".description_with_count", :count => description.size, :user => description.user.display_name %> +<%= image_tag trace_icon_url(trace.user, trace) %> +<% if trace.size -%> +<%= t ".description_with_count", :count => trace.size, :user => trace.user.display_name %> <% else -%> -<%= t ".description_without_count", :user => description.user.display_name %> +<%= t ".description_without_count", :user => trace.user.display_name %> <% end -%>