gitlabhq/app/views/groups/merge_requests.html.haml

20 lines
562 B
Plaintext
Raw Normal View History

2012-10-02 19:42:15 +02:00
%h3.page_title
Merge Requests
%small (authored by or assigned to you)
%small.right #{@merge_requests.total_count} merge requests
%br
- if @merge_requests.any?
- @merge_requests.group_by(&:project).each do |group|
%ul.well-list.ui-box
2012-10-02 19:42:15 +02:00
- @project = group[0]
2013-01-04 23:35:38 +01:00
%h5.title
= @project.name
2012-10-02 19:42:15 +02:00
- 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