gitlabhq/app/views/dashboard/merge_requests.html.haml
Dmitriy Zaporozhets ba3c359fd5 b2 fixes
2012-04-10 21:39:04 +03:00

25 lines
723 B
Plaintext

%h3
Merge Requests
%small (authored or assigned to you)
%br
%div#merge_requests-table-holder.ui-box
%title
%ul#merge_requests-table.unstyled
- if @merge_requests.any?
- @merge_requests.group_by(&:project).each do |group|
%li.wll.smoke
- project = group[0]
= project.name
- group[1].each do |merge_request|
= render(:partial => 'merge_requests/merge_request', :locals => {:merge_request => merge_request})
%li.bottom
.row
.span7= paginate @merge_requests, :theme => "gitlab"
.span4.right
%span.cgray.right #{@merge_requests.total_count} merge requests
- else
%li
%p.padded Nothing to show here