Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solves #6660 whole issue of duplicating pagination for user lists #7149

Conversation

mariamalth
Copy link
Contributor

Closes #6660

This PR achieves a feature where clicking on lists now has pagination at the top and bottom of the lists.

Technical

In the “view_body.html” in templates/type/list, the div with class “mybooks-list” now has a macros pager and an additional div with class “clearfix”. This is done so the presentation of the pagination elements remains consistent at the top and bottom of the lists page.

Testing

To reproduce or verify what this PR fixes, one should create or access a list of over 50 items (so there are enough items to present pagination). After completing the above one should look at the people/username/lists/list_id/list_name page and find that pagination is present on the top and the bottom.

Screenshot

6660_evidence

Stakeholders

@seabelis @cdrini @mekarpeles

Copy link
Collaborator

@cdrini cdrini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thank you @mariamalth ! This looks perfect :) I tested it on testing.openlibrary.org

@cdrini cdrini merged commit a40b0d8 into internetarchive:master Nov 14, 2022
@cdrini cdrini added the On testing.openlibrary.org This PR has been deployed to testing.openlibrary.org for testing label Nov 14, 2022
@cdrini
Copy link
Collaborator

cdrini commented Nov 14, 2022

Darn I forgot to squash the commits! Oh well, next time!

@jimchamp jimchamp removed the On testing.openlibrary.org This PR has been deployed to testing.openlibrary.org for testing label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Duplicate the pagination widget on lists
3 participants