2013-08-06 14:12:01 -04:00
|
|
|
- if @issues.any?
|
|
|
|
- @issues.group_by(&:project).each do |group|
|
2014-05-30 16:43:53 -04:00
|
|
|
.panel.panel-default.panel-small
|
2013-08-06 14:12:01 -04:00
|
|
|
- project = group[0]
|
2014-05-29 11:43:21 -04:00
|
|
|
.panel-heading
|
2013-08-06 14:12:01 -04:00
|
|
|
= link_to_project project
|
2013-08-06 14:22:41 -04:00
|
|
|
= link_to 'show all', project_issues_path(project), class: 'pull-right'
|
2013-08-06 14:12:01 -04:00
|
|
|
|
|
|
|
%ul.well-list.issues-list
|
|
|
|
- group[1].each do |issue|
|
|
|
|
= render 'projects/issues/issue', issue: issue
|
|
|
|
= paginate @issues, theme: "gitlab"
|
|
|
|
- else
|
2014-02-20 06:51:22 -05:00
|
|
|
.nothing-here-block No issues to show
|
2013-08-06 14:12:01 -04:00
|
|
|
|