BigW Consortium Gitlab

_merge_requests.html.haml 543 Bytes
Newer Older
1
- if @merge_requests.any?
2
  - @merge_requests.group_by(&:target_project).each do |group|
3
    .ui-box.ui-box-small
4
      - project = group[0]
5
      .title
6
        = link_to_project project
7
        = link_to 'show all', project_merge_requests_path(project), class: 'pull-right'
8
      %ul.well-list.mr-list
9
        - group[1].each do |merge_request|
10
          = render 'projects/merge_requests/merge_request', merge_request: merge_request
11 12 13
  = paginate @merge_requests, theme: "gitlab"

- else
14
  %h3.nothing_here_message No merge requests to show