Pagination for Merge Requests. Fixed for issues

This commit is contained in:
randx 2012-03-22 00:09:57 +02:00
parent 755a894c91
commit 52d8ed9e4f
6 changed files with 24 additions and 17 deletions

View file

@ -27,5 +27,10 @@
- if @merge_requests.blank?
%li
%p.padded Nothing to show here
- if @merge_requests.present?
%li.bottom
.row
.span10= paginate @merge_requests, :theme => "gitlab"
.span4.right
%span.cgray.right #{@merge_requests.total_count} merge requests for this filter