]> git.openstreetmap.org Git - rails.git/blob - app/views/issues/_reports.html.erb
Remove duplicate translation strings, and use short form translation lookups
[rails.git] / app / views / issues / _reports.html.erb
1 <% reports.each do |report| %>
2   <div class="report">
3     <div class="float-left">
4       <%= link_to user_thumbnail(report.user), user_path(report.user) %>
5     </div>
6     <p class="text-muted mb-0">
7       <%= t ".reported_by_html", :category => report.category,
8                                  :user => link_to(report.user.display_name, user_path(report.user)),
9                                  :updated_at => l(report.updated_at.to_datetime, :format => :friendly) %>
10     </p>
11     <p><%= report.details %></p>
12   </div>
13   <hr>
14 <% end %>