CDRH / chesnutt

Rails site code for the Charles W. Chesnutt Archive https://chesnuttarchive.org
0 stars 0 forks source link

Get "previous" and "next" display working for letters in a correspondence chain #170

Closed kmcmullen closed 1 year ago

kmcmullen commented 2 years ago

See ccda.corr00025 and ccda.corr00026 for examples. The relevant info is encoding in correspDesc/correspContent/ptr, with the value of @prev or @next being the xml:id of the previous or next letter.

`

`

I believe we have a display for this sort of thing set up elsewhere... Neihardt maybe...?

karindalziel commented 1 year ago

corr00113

karindalziel commented 1 year ago

Added prev and next link to api and added the links to the views via an item template