UI changes + Redirection after creating report fixed
[rails.git] / app / views / issues / _reports.html.erb
1 <% reports.each do |report| %>
2         <% details =  report.details.split("--||--") %>
3         <div class="reports">
4                 <div style="float:left">
5                         <%= link_to user_thumbnail(report.user), :controller => :user,:action =>:view, :display_name => report.user.display_name %>
6                 </div>
7                 Reported as <b><%= details[1].delete('[').delete(']').downcase %></b> by <b><%= link_to report.user.display_name, :controller => :user,:action =>:view, :display_name => report.user.display_name %></b> <br/>
8                 <span class="deemphasize">
9                         On <%= l report.updated_at.to_datetime, :format => :friendly %> 
10                 </span>
11                 <br/>
12                 <%= details[0] %> 
13                 <br/>
14         </div>
15         <hr>
16 <% end %>