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

661: show ORCID in contact person card #670

Merged
merged 1 commit into from
Nov 25, 2022
Merged

Conversation

ewan-escience
Copy link
Collaborator

Show ORCID for contact person

Changes proposed in this pull request:

  • On software and project pages, if the contact person has an ORCID, we show it on the contact person card

How to test:

  • docker-compose down --volumes && docker-compose build frontend && docker-compose up --scale data-generation=1
  • View some software and project pages
  • Pages with a contact person with an ORCID should show this ORCID in the contact person card, as a link to the ORCID webpage

Closes #661

PR Checklist:

  • Increase version numbers in docker-compose.yml
  • Link to a GitHub issue
  • Update documentation
  • Tests

@@ -62,6 +65,13 @@ export default function ContactPersonCard({person}: { person: Contributor|null }
<h5 className="py-2">
{person?.affiliation ?? ''}
</h5>
{person?.orcid && <h5 className="py-2">
Copy link
Contributor

@dmijatovic dmijatovic Nov 24, 2022

Choose a reason for hiding this comment

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

Maybe we can create PersonalOrcid component from the code in PersonalInfo component and use it at both places?

@ewan-escience ewan-escience merged commit b435b8a into main Nov 25, 2022
@ewan-escience ewan-escience deleted the 661-orcid-contact-person branch February 7, 2023 08:33
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.

orcid info is not displayed for the contact person
2 participants