]> git.openstreetmap.org Git - rails.git/blob - app/views/issues/_reports.html.erb
Use lazy lookups for translations in issues
[rails.git] / app / views / issues / _reports.html.erb
1 <% reports.each do |report| %>
2   <div class="report">
3     <div style="float:left">
4       <%= link_to user_thumbnail(report.user), user_path(report.user.display_name) %>
5     </div>
6     <%= t ".reported_by_html", :category => report.category, :user => link_to(report.user.display_name, user_path(report.user.display_name)) %>
7     <br/>
8     <span class="deemphasize">
9       <%= t(".updated_at", :datetime => l(report.updated_at.to_datetime, :format => :friendly)) %>
10     </span>
11     <br/>
12     <%= report.details %>
13     <br/>
14   </div>
15   <hr>
16 <% end %>