2012-06-30 23:35:24 +02:00
|
|
|
%h3.page_title
|
2012-01-28 15:47:55 +01:00
|
|
|
Merge Requests
|
2012-07-24 12:22:13 +02:00
|
|
|
%small (authored by or assigned to you)
|
2012-04-24 20:49:34 +02:00
|
|
|
%small.right #{@merge_requests.total_count} merge requests
|
2012-01-28 15:47:55 +01:00
|
|
|
|
2012-11-21 06:24:05 +01:00
|
|
|
%hr
|
|
|
|
.row
|
|
|
|
.span3
|
|
|
|
= render 'filter', entity: 'merge_request'
|
|
|
|
.span9
|
|
|
|
- if @merge_requests.any?
|
|
|
|
- @merge_requests.group_by(&:project).each do |group|
|
|
|
|
%ul.unstyled.ui-box
|
|
|
|
- @project = group[0]
|
2012-12-10 04:24:05 +01:00
|
|
|
%h5= link_to_project @project
|
2012-11-21 06:24:05 +01:00
|
|
|
- group[1].each do |merge_request|
|
|
|
|
= render(partial: 'merge_requests/merge_request', locals: {merge_request: merge_request})
|
|
|
|
%hr
|
|
|
|
= paginate @merge_requests, theme: "gitlab"
|
2012-04-07 23:18:32 +02:00
|
|
|
|
2012-11-21 06:24:05 +01:00
|
|
|
- else
|
|
|
|
%h3.nothing_here_message Nothing to show here
|