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

25 lines
723 B
Plaintext
Raw Normal View History

2012-01-28 15:47:55 +01:00
%h3
Merge Requests
%small (authored or assigned to you)
2012-01-28 15:47:55 +01:00
%br
2012-04-07 23:18:32 +02:00
%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
2012-04-10 20:39:04 +02:00
.span7= paginate @merge_requests, :theme => "gitlab"
2012-04-07 23:18:32 +02:00
.span4.right
%span.cgray.right #{@merge_requests.total_count} merge requests
- else
%li
%p.padded Nothing to show here