X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/683722ed5c1b3224a04c23b4d175a0638964f713..f3519e97819cc5a5e2c2f9931c7d565b8e5227c8:/app/views/issues/_reports.html.erb diff --git a/app/views/issues/_reports.html.erb b/app/views/issues/_reports.html.erb index 29b7e94d1..3d31eeb1a 100644 --- a/app/views/issues/_reports.html.erb +++ b/app/views/issues/_reports.html.erb @@ -1,13 +1,16 @@ <% reports.each do |report| %> + <% details = report.details.split("--||--") %>
<%= link_to user_thumbnail(report.user), :controller => :user,:action =>:view, :display_name => report.user.display_name %>
- <%= link_to report.user.display_name, :controller => :user,:action =>:view, :display_name => report.user.display_name %>
- <%= report.details %> -
+ Reported as <%= details[1].delete('[').delete(']').downcase %> by <%= link_to report.user.display_name, :controller => :user,:action =>:view, :display_name => report.user.display_name %>
- On <%= l report.created_at.to_datetime, :format => :long %> + On <%= l report.updated_at.to_datetime, :format => :friendly %> + +
+ <%= details[0] %> +

<% end %>