Total items, pages count added to pagination, centered, range fixed #3164

Open
wants to merge 2 commits into
from

Projects

None yet

2 participants

@escopecz
Contributor
escopecz commented Jan 2, 2017 edited
Q A
Bug fix? false
New feature? false
UI update? true
Related user documentation PR URL null
Related developer documentation PR URL null
Issues addressed (#s or URLs) #1501, #1926
BC breaks? false
Deprecations? false

Description:

This PR adds a count of total items and pages bellow the pagination, centers it below the table and also centers the selected page in the pagination. Currently, if you go to page 4, the pagination shows pages 1,2,3,4, so you get an impression that 4 is the last page. With this PR, if you go to page 4, you will see pages 2,3,4,5,6. Selected page is in the middle. So you know that 4 is not the final page.

mautic-pagination

Steps to test this PR:

  1. Apply this PR and check that the pagination improved as described
@dongilbert

+1 Looks and works great. Thanks @escopecz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment