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

Make display of funding info clearer on article page #4464

Merged
merged 4 commits into from
Oct 25, 2024

Conversation

joemull
Copy link
Member

@joemull joemull commented Oct 25, 2024

Fixes #4461.

See my comment on the original issue for a diagnosis: #4461 (comment)

To make the behavior clear and still display the various IDs for metadata purposes, I have laid out the data using a definition list. I have opted to use the key_value_above template from the back office as it is agnostic of styling. If crossing between the themes in this way is undesirable, I can move key_value_above to common templates.

image

image

image

@joemull joemull force-pushed the b-4461-funder-link-bugfix branch from 1bf11de to dd0160e Compare October 25, 2024 11:22
@joemull joemull requested a review from ajrbyers October 25, 2024 11:22
@joemull joemull force-pushed the b-4461-funder-link-bugfix branch from db3bc64 to 2cc1ebd Compare October 25, 2024 11:48
@joemull joemull changed the base branch from master to r-v1.7.x October 25, 2024 11:59
Copy link
Member

@ajrbyers ajrbyers left a comment

Choose a reason for hiding this comment

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

See comment on view. Otherwise this is a good approach.

src/journal/views.py Show resolved Hide resolved
src/templates/common/elements/funder_info_for_readers.html Outdated Show resolved Hide resolved
@joemull joemull requested a review from ajrbyers October 25, 2024 12:11
@ajrbyers ajrbyers requested a review from StephDriver October 25, 2024 12:27
@ajrbyers ajrbyers assigned StephDriver and unassigned ajrbyers Oct 25, 2024
@StephDriver StephDriver merged commit c6c74a6 into r-v1.7.x Oct 25, 2024
@StephDriver StephDriver deleted the b-4461-funder-link-bugfix branch October 25, 2024 13:16
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.

ROR link treated as internal CMS page link
3 participants