2013-01-14 03:09:01 -05:00
|
|
|
- if @merge_requests.any?
|
2013-04-25 10:15:33 -04:00
|
|
|
- @merge_requests.group_by(&:target_project).each do |group|
|
2013-12-24 04:45:42 -05:00
|
|
|
.ui-box.ui-box-small
|
2013-01-14 03:09:01 -05:00
|
|
|
- project = group[0]
|
2013-07-13 13:36:21 -04:00
|
|
|
.title
|
2013-01-14 03:09:01 -05:00
|
|
|
= link_to_project project
|
2013-11-27 04:29:52 -05:00
|
|
|
= link_to 'show all', project_merge_requests_path(project), class: 'pull-right'
|
2013-04-06 08:11:47 -04:00
|
|
|
%ul.well-list.mr-list
|
2013-01-14 03:09:01 -05:00
|
|
|
- group[1].each do |merge_request|
|
2013-06-23 12:47:22 -04:00
|
|
|
= render 'projects/merge_requests/merge_request', merge_request: merge_request
|
2013-01-14 03:09:01 -05:00
|
|
|
= paginate @merge_requests, theme: "gitlab"
|
|
|
|
|
|
|
|
- else
|
2014-02-20 06:51:22 -05:00
|
|
|
.nothing-here-block No merge requests to show
|