2012-03-21 22:09:57 +00:00
|
|
|
- @issues.select(&:critical).each do |issue|
|
2011-12-07 23:31:06 +00:00
|
|
|
= render(:partial => 'issues/show', :locals => {:issue => issue})
|
2011-10-08 21:36:38 +00:00
|
|
|
|
2012-03-21 22:09:57 +00:00
|
|
|
- @issues.reject(&:critical).each do |issue|
|
2011-12-07 23:31:06 +00:00
|
|
|
= render(:partial => 'issues/show', :locals => {:issue => issue})
|
2012-03-21 22:09:56 +00:00
|
|
|
|
2012-03-21 22:09:57 +00:00
|
|
|
- if @issues.present?
|
|
|
|
%li.bottom
|
|
|
|
.row
|
2012-04-10 18:39:04 +00:00
|
|
|
.span7= paginate @issues, :remote => true, :theme => "gitlab"
|
|
|
|
.span3.right
|
2012-03-21 22:09:57 +00:00
|
|
|
%span.cgray.right #{@issues.total_count} issues for this filter
|
2012-04-08 21:28:58 +00:00
|
|
|
- else
|
|
|
|
%li
|
|
|
|
%p.padded Nothing to show here
|