Add pagination to the top of History and Marked for Later pages

Description

The History page (https://test.archiveofourown.org/users/USERNAME/readings)and Marked for Later page (https://test.archiveofourown.org/users/USERNAME/readings?show=to-read) should have the pagination links on the top as well as the bottom.

The pagination should be located between the navigation ul containing the Full History, Marked for Later, and Clear History items and the blurbs containing the work information.

There are a few other changes that are optional but would be appreciated if you wanted to take a shot at them:

  • Internationalize the text according to our i18n standards

  • Remove the logged_in? checks (the page is only accessible to the logged in user who owns it, so these should be unnecessary)

  • Remove the role="navigation" attribute from the ul

  • Update the old hash rocket syntax to JSON style (e.g., :show => 'to-read' to show: "to-read")

  • Change remaining single quotes to double quotes

Note that both pages use the same view file, views/readings/index.html.erb.

Requested by a user in #721959

Activity

Show:

Details

Assignee

Reporter

Roadmap

Reading History

Priority

Affects versions

Difficulty

Milestone

Sentry

Created April 20, 2025 at 12:53 AM
Updated April 21, 2025 at 12:06 AM