Commit 4b765106 authored by Phil Hughes's avatar Phil Hughes

Merge branch 'id-next-prev-pagination-for-branches' into 'master'

Introduce Prev/Next pagination to branches

See merge request gitlab-org/gitlab!50759
parents 95400c70 660cf92b
......@@ -60,7 +60,10 @@
%ul.content-list.all-branches
- @branches.each do |branch|
= render "projects/branches/branch", branch: branch, merged: @merged_branch_names.include?(branch.name), commit_status: @branch_pipeline_statuses[branch.name], show_commit_status: @branch_pipeline_statuses.any?
= paginate @branches, theme: 'gitlab'
- if Feature.enabled?(:branches_pagination_without_count, @project, default_enabled: true)
= paginate_without_count @branches
- else
= paginate @branches, theme: 'gitlab'
- else
.nothing-here-block
= s_('Branches|No branches to show')
......
---
name: branches_pagination_without_count
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/50759
rollout_issue_url:
milestone: '13.9'
type: development
group: group::source code
default_enabled: true
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment