16 lines
480 B
Plaintext
16 lines
480 B
Plaintext
- @issues.select(&:critical).each do |issue|
|
|
= render(:partial => 'issues/show', :locals => {:issue => issue})
|
|
|
|
- @issues.reject(&:critical).each do |issue|
|
|
= render(:partial => 'issues/show', :locals => {:issue => issue})
|
|
|
|
- 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
|
|
- else
|
|
%li
|
|
%p.padded Nothing to show here
|