]> git.openstreetmap.org Git - rails.git/blob - app/views/issues/_reports.html.erb
Fully internationalise the issues and reports interfaces.
[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", :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     <span class="deemphasize">
12       <%= t ".category", category: report.category %>
13     </span>
14     <br/>
15     <%= report.details %>
16     <br/>
17   </div>
18   <hr>
19 <% end %>