]> git.openstreetmap.org Git - rails.git/blob - app/views/issues/_reports.html.erb
Use Time.utc for consistency with other tests
[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), user_path(report.user) %>
5     </div>
6     <div class="col">
7       <p class="text-muted">
8         <%= t ".reported_by_html", :category => report.category,
9                                    :user => link_to(report.user.display_name, user_path(report.user)),
10                                    :updated_at => l(report.updated_at.to_datetime, :format => :friendly) %>
11       </p>
12       <div class="richtext text-break"><%= report.details.to_html %></div>
13     </div>
14   </div>
15   <hr>
16 <% end %>