% content_for :heading do %>
Issue against: <%= reportable_url(@issue.reportable) %>
Issue type: <%= @issue.reportable_type %>
<%= @issue.reports.count %> reports | First reported: <%= l @issue.created_at.to_date, :format => :long %> <%= "| Last resolved at #{l(@issue.resolved_at.to_datetime, :format =>:long)}" if @issue.resolved_at? %>
<%= link_to "Resolve", resolve_issue_url(@issue), :method => :post if @issue.may_resolve? %>
<%= link_to "Ignore", ignore_issue_url(@issue), :method => :post if @issue.may_ignore? %>
<%= link_to "Reopen", reopen_issue_url(@issue), :method => :post if @issue.may_reopen? %>
<% end %>