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

Show author's birth, death dates on book page #9126

Merged
merged 9 commits into from
Apr 19, 2024
Merged

Show author's birth, death dates on book page #9126

merged 9 commits into from
Apr 19, 2024

Conversation

jimchamp
Copy link
Collaborator

@jimchamp jimchamp commented Apr 19, 2024

Closes #7799

Merging completed work from integration branch into main. This will display the author's birth and death dates, if known, next to the author's name on book view and edit pages. These dates will only be visible for members of /usergroup/librarians.

Related PRs:
#8076
#9052

Technical

Testing

Screenshot

image

image

Stakeholders

Lux-Sales and others added 9 commits July 9, 2023 19:43
* Re-implement changes

- Store data in dictionaries
- Only show years for librarians on book page

* Delete integration test

* Use a regex to determine the year to display

* Use single quotes

* Add helper function to extract a year

* Register helper

* Final fixes

* Small clean-up

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Address comments

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
@jimchamp jimchamp merged commit dbc4fd8 into master Apr 19, 2024
3 checks passed
@jimchamp jimchamp deleted the author-dates branch April 19, 2024 22:45
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.

Display author date(s) with name for librarians
3 participants