Add pagination to mirrors list
What does this MR do and why?
Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/580289
Problem
Mirror configuration page is missing pagination for mirrors.
Solution
- Extract remote mirror page into a custom template
- Add missing pagination logic
References
https://gitlab.com/gitlab-org/gitlab/-/issues/580289
How to reproduce
- Visit a project page
- Go to Settings -> Repository -> Mirroring repositories
- Add push mirror configurations (more than 20 to trigger the pagination, or reduce the default limit to 2 and restart GDK)
- You should see the pagination below the mirroring repositories table
Screenshots
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #580289
Edited by Vasilii Iakliushin
