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
|
2012-04-10 20:39:04 +02:00
|
|
|
.span7= paginate @issues, :remote => true, :theme => "gitlab"
|
|
|
|
.span3.right
|
2012-03-21 23:09:57 +01:00
|
|
|
%span.cgray.right #{@issues.total_count} issues for this filter
|
2012-04-08 23:28:58 +02:00
|
|
|
- else
|
|
|
|
%li
|
2012-06-18 19:50:06 +02:00
|
|
|
%h4.nothing_here_message Nothing to show here
|