X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9e46754c887e9dc2caa412942dc7e964aa48cfcf..b5dd8c19b9b9c4bbb09e07f6c4898ebb52b06b39:/app/views/issues/_reports.html.erb diff --git a/app/views/issues/_reports.html.erb b/app/views/issues/_reports.html.erb index 51643a6af..2d0f1650b 100644 --- a/app/views/issues/_reports.html.erb +++ b/app/views/issues/_reports.html.erb @@ -1,16 +1,17 @@ <% reports.each do |report| %> -
-
- <%= link_to user_thumbnail(report.user), user_path(report.user.display_name) %> +
+
+ <%= link_to user_thumbnail(report.user), report.user %> +
+
+

+ <%= t ".reported_by_html", :category => report.category, + :user => link_to(report.user.display_name, report.user), + :updated_at => tag.time(l(report.updated_at.to_datetime, :format => :friendly), + :datetime => report.updated_at.xmlschema) %> +

+
<%= report.details.to_html %>
- <%= t ".reported_by_html", :category => report.category, :user => link_to(report.user.display_name, user_path(report.user.display_name)) %> -
- - <%= t(".updated_at", :datetime => l(report.updated_at.to_datetime, :format => :friendly)) %> - -
- <%= report.details %> -

<% end %>