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

Fine tuning of HTML rendering #347

Merged
merged 2 commits into from
Sep 22, 2023
Merged

Fine tuning of HTML rendering #347

merged 2 commits into from
Sep 22, 2023

Conversation

jsheunis
Copy link
Member

This PR:

  • hides fields, including properties, journal, and grant description, if they are not populated, to prevent empty properties from making the rendered page ugly
  • improves parsing of objects and arrays in the additional display tab so that they can be rendered in a more visually pleasing way.

Example 1:

New:

Screenshot 2023-09-21 at 22 52 03

vs old:
Screenshot 2023-09-21 at 22 51 52

Example 2:

New:
Screenshot 2023-09-21 at 22 51 15

vs old
Screenshot 2023-09-21 at 22 51 29

Example 3:

New:
Screenshot 2023-09-21 at 22 50 29

vs old:
Screenshot 2023-09-21 at 22 50 57

Copy link
Collaborator

@mslw mslw left a comment

Choose a reason for hiding this comment

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

I have not tried it in practice, but I really like the way the screenshots look, and the template changes seem reasonable.

@jsheunis jsheunis merged commit 75cd669 into main Sep 22, 2023
6 checks passed
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.

2 participants