diff --git a/src/components/Form/fields/FieldOrcid.vue b/src/components/Form/fields/FieldOrcid.vue index 9c2f566a8..e51be8ab8 100644 --- a/src/components/Form/fields/FieldOrcid.vue +++ b/src/components/Form/fields/FieldOrcid.vue @@ -27,10 +27,18 @@ class="h-6 w-6" :inline="true" /> + +
tag for HTML display * @returns {string} */ - orcidDisplayValue: function () { + orcidDisplayText: function () { if (this.hasOrcid) { - return `${this.orcidValue}`; + return `${this.orcidDisplayValue}`; } else { return this.orcidValue; } diff --git a/src/components/Icon/Icon.vue b/src/components/Icon/Icon.vue index 50eb769c2..7bcddf37a 100644 --- a/src/components/Icon/Icon.vue +++ b/src/components/Icon/Icon.vue @@ -85,6 +85,7 @@ import Notifications from './icons/Notifications.vue'; import NotVisible from './icons/NotVisible.vue'; import OpenReview from './icons/OpenReview.vue'; import Orcid from './icons/Orcid.vue'; +import OrcidUnauthenticated from './icons/OrcidUnauthenticated.vue'; import Overdue from './icons/Overdue.vue'; import Paste from './icons/Paste.vue'; import Payment from './icons/Payment.vue'; @@ -228,6 +229,7 @@ const svgIcons = { User, View, Workflow, + OrcidUnauthenticated, }; const props = defineProps({ diff --git a/src/components/Icon/icons/OrcidUnauthenticated.vue b/src/components/Icon/icons/OrcidUnauthenticated.vue new file mode 100644 index 000000000..5acf08291 --- /dev/null +++ b/src/components/Icon/icons/OrcidUnauthenticated.vue @@ -0,0 +1,27 @@ + diff --git a/src/components/ListPanel/contributors/ContributorsListPanel.vue b/src/components/ListPanel/contributors/ContributorsListPanel.vue index ec832a321..129f15629 100644 --- a/src/components/ListPanel/contributors/ContributorsListPanel.vue +++ b/src/components/ListPanel/contributors/ContributorsListPanel.vue @@ -392,6 +392,7 @@ export default { if (field.name === 'orcid') { field.orcid = author['orcid'] ?? ''; field.authorId = author['id']; + field.orcidDisplayValue = author['orcidDisplayValue']; field.isVerified = author['orcidIsVerified'] ?? false; field.orcidVerificationRequested = author['orcidVerificationRequested']; diff --git a/src/components/ListPanel/users/SelectReviewerListItem.vue b/src/components/ListPanel/users/SelectReviewerListItem.vue index 2be349893..bf5685cf5 100644 --- a/src/components/ListPanel/users/SelectReviewerListItem.vue +++ b/src/components/ListPanel/users/SelectReviewerListItem.vue @@ -45,8 +45,12 @@ class="listPanel__item--reviewer__orcid" target="_blank" > - - {{ item.orcid }} + + {{ item.orcidDisplayValue }}