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