Skip to content

Make display of funding info clearer on article page#4464

Merged
StephDriver merged 4 commits into
r-v1.7.xfrom
b-4461-funder-link-bugfix
Oct 25, 2024
Merged

Make display of funding info clearer on article page#4464
StephDriver merged 4 commits into
r-v1.7.xfrom
b-4461-funder-link-bugfix

Conversation

@joemull

@joemull joemull commented Oct 25, 2024

Copy link
Copy Markdown
Member

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

@ajrbyers ajrbyers left a comment

Copy link
Copy Markdown
Member

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.

Comment thread src/journal/views.py
Comment thread src/templates/common/elements/funder_info_for_readers.html
@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