2012-03-21 23:09:57 +01:00
|
|
|
- @issues.select(&:critical).each do |issue|
|
2011-12-08 00:31:06 +01:00
|
|
|
= render(:partial => 'issues/show', :locals => {:issue => issue})
|
2011-10-08 23:36:38 +02:00
|
|
|
|
2012-03-21 23:09:57 +01:00
|
|
|
- @issues.reject(&:critical).each do |issue|
|
2011-12-08 00:31:06 +01:00
|
|
|
= render(:partial => 'issues/show', :locals => {:issue => issue})
|
2012-03-21 23:09:56 +01:00
|
|
|
|
2012-03-21 23:09:57 +01:00
|
|
|
- if @issues.present?
|
|
|
|
%li.bottom
|
|
|
|
.row
|
|
|
|
.span10= paginate @issues, :remote => true, :theme => "gitlab"
|
|
|
|
.span4.right
|
|
|
|
%span.cgray.right #{@issues.total_count} issues for this filter
|