Add pagination to labels page

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-07-30 19:09:24 +03:00
parent 86f1f8335f
commit 91c1534e59
No known key found for this signature in database
GPG key ID: 627C5F589F467F17

View file

@ -10,6 +10,7 @@
- if @labels.present? - if @labels.present?
%ul.bordered-list.manage-labels-list %ul.bordered-list.manage-labels-list
= render @labels = render @labels
= paginate @labels, theme: 'gitlab'
- else - else
.light-well .light-well