c1f9403e45
This changes the pagination of the "Explore" pages so they use a simpler pagination system that only shows "Prev" and "Next" buttons. This removes the need for getting the total number of rows to display, a process that can easily take up to 2 seconds when browsing through a large list of projects. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/27390
8 lines
261 B
Text
8 lines
261 B
Text
.gl-pagination
|
|
%ul.pagination.clearfix
|
|
- if previous_path
|
|
%li.prev
|
|
= link_to(t('views.pagination.previous'), previous_path, rel: 'prev')
|
|
- if next_path
|
|
%li.next
|
|
= link_to(t('views.pagination.next'), next_path, rel: 'next')
|