]> git.openstreetmap.org Git - rails.git/blob - app/views/issues/_reports.html.erb
Fix browse elements timeouts
[rails.git] / app / views / issues / _reports.html.erb
1 <% reports.each do |report| %>
2   <div class="row">
3     <div class="col-auto">
4       <%= link_to user_thumbnail(report.user), report.user %>
5     </div>
6     <div class="col">
7       <p class="text-body-secondary">
8         <%= t ".reported_by_html", :category => report.category,
9                                    :user => link_to(report.user.display_name, report.user),
10                                    :updated_at => tag.time(l(report.updated_at.to_datetime, :format => :friendly),
11                                                            :datetime => report.updated_at.xmlschema) %>
12       </p>
13       <div class="richtext text-break"><%= report.details.to_html %></div>
14     </div>
15   </div>
16   <hr>
17 <% end %>