gitlabhq/app/views/issues/_issues.html.haml
2011-11-01 22:11:24 +02:00

16 lines
413 B
Plaintext

%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?
%th
- @issues.critical.each do |issue|
= render(:partial => 'show', :locals => {:issue => issue})
- @issues.non_critical.each do |issue|
= render(:partial => 'show', :locals => {:issue => issue})