]> git.openstreetmap.org Git - rails.git/blob - app/views/issues/_reports.html.erb
Changed report button + Added disclaimer on report page + Added search filter
[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                 <b><%= link_to report.user.display_name, :controller => :user,:action =>:view, :display_name => report.user.display_name %></b> <br/>
7                 <% details =  report.details.split("--||--") %>
8                 <label>Tag:</label> 
9                 <%= details[1] %>
10                 <br/>
11                 <%= details[0] %> 
12                 <br/>
13                 <br/>
14                 <span class="deemphasize">
15                 On <%= l report.created_at.to_datetime, :format => :long %> </span>
16         </div>
17         <hr>
18 <% end %>