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

19 lines
542 B
Plaintext
Raw Normal View History

2012-01-28 15:47:55 +01:00
%h3
Merge Requests
%small (authored or assigned to you)
%small.right #{@merge_requests.total_count} merge requests
2012-01-28 15:47:55 +01:00
%br
- if @merge_requests.any?
- @merge_requests.group_by(&:project).each do |group|
%ul.unstyled.ui-box
- project = group[0]
%h5= project.name
- 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
- else
%h3.nothing_here_message Nothing to show here