1 <p id= "notice"><%= notice %></p>
3 <% content_for :heading do %>
4 <h1>List of existing Issues:</h1>
11 <td style="text-align:center"><b> # </b> </td>
12 <td style="text-align:center"><b>Issue Type </b></td>
13 <td style="text-align:center"><b> Status </b></td>
14 <td style="text-align:center"><b> Number of Reports</b></td>
15 <td style="text-align:center"><b> Link to instance </b></td>
16 <td style="text-align:center"><b> Reported User </b></td>
17 <td style="text-align:center"></td>
22 <% @issues.each do |issue| %>
24 <td style="text-align:center">Issue #<%= issue.id %> </td>
25 <td style="text-align:center"> <%= issue.reportable_type %></td>
26 <td style="text-align:center"><span class="count-number"> <strong><%= issue.status %></strong></span> </td>
27 <td style="text-align:center"><%= issue.reports.count %></td>
28 <td style="text-align:center"> <%= reportable_url(issue.reportable) %></td>
29 <td style="text-align:center"><%= link_to issue.user.display_name , :controller => :user, :action => :view,:display_name => issue.user.display_name %></td>
30 <td style="text-align:center"><%= link_to "Show Issue", issue %></td>