_issues.html.haml 405 Bytes
%table.round-borders#issues-table
  %thead
    - if can?(current_user, :admin_issue, @project) && !params[:f] || params[:f] == "0"
      %th
    %th Assignee
    %th ID
    %th Title
    %th Closed?

  - @issues.critical.each do |issue|
    = render(:partial => 'show', :locals => {:issue => issue})

  - @issues.non_critical.each do |issue|
    = render(:partial => 'show', :locals => {:issue => issue})