2013-01-14 08:09:01 +00:00
|
|
|
- if @merge_requests.any?
|
2013-04-25 14:15:33 +00:00
|
|
|
- @merge_requests.group_by(&:target_project).each do |group|
|
2014-05-30 20:43:53 +00:00
|
|
|
.panel.panel-default.panel-small
|
2013-01-14 08:09:01 +00:00
|
|
|
- project = group[0]
|
2014-05-29 15:43:21 +00:00
|
|
|
.panel-heading
|
2013-01-14 08:09:01 +00:00
|
|
|
= link_to_project project
|
2015-01-24 18:02:58 +00:00
|
|
|
= link_to 'show all', namespace_project_merge_requests_path(project.namespace, project), class: 'pull-right'
|
2013-04-06 12:11:47 +00:00
|
|
|
%ul.well-list.mr-list
|
2013-01-14 08:09:01 +00:00
|
|
|
- group[1].each do |merge_request|
|
2013-06-23 16:47:22 +00:00
|
|
|
= render 'projects/merge_requests/merge_request', merge_request: merge_request
|
2013-01-14 08:09:01 +00:00
|
|
|
= paginate @merge_requests, theme: "gitlab"
|
|
|
|
|
|
|
|
- else
|
2014-02-20 11:51:22 +00:00
|
|
|
.nothing-here-block No merge requests to show
|