2013-01-22 23:20:27 +01:00
|
|
|
= render "team_head"
|
|
|
|
|
2013-01-19 18:32:09 +01:00
|
|
|
%h3.page_title
|
|
|
|
Merge Requests
|
|
|
|
%small (authored by or assigned to Team members)
|
|
|
|
%small.right #{@merge_requests.total_count} merge requests
|
|
|
|
|
|
|
|
%hr
|
|
|
|
.row
|
|
|
|
.span3
|
|
|
|
= render 'filter', entity: 'merge_request'
|
|
|
|
.span9
|
|
|
|
- if @merge_requests.any?
|
|
|
|
- @merge_requests.group_by(&:project).each do |group|
|
|
|
|
.ui-box
|
|
|
|
- @project = group[0]
|
|
|
|
%h5.title
|
|
|
|
= link_to_project @project
|
|
|
|
%ul.well-list
|
|
|
|
- group[1].each do |merge_request|
|
|
|
|
= render(partial: 'merge_requests/merge_request', locals: {merge_request: merge_request})
|
|
|
|
%hr
|
|
|
|
= paginate @merge_requests, theme: "gitlab"
|
|
|
|
|
|
|
|
- else
|
|
|
|
%h3.nothing_here_message Nothing to show here
|