From 0631ae7ae9086f4db3128341eaa389405634bef1 Mon Sep 17 00:00:00 2001 From: qtamu Date: Thu, 29 Aug 2024 08:32:10 -0500 Subject: [PATCH 1/5] test the addition of the copi and pi in the simple item view config --- .../item-types/untyped-item/untyped-item.component.html | 8 ++++++++ .../item-types/untyped-item/untyped-item.component.html | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/src/app/item-page/simple/item-types/untyped-item/untyped-item.component.html b/src/app/item-page/simple/item-types/untyped-item/untyped-item.component.html index 904b7e039cc..ebbabadc050 100644 --- a/src/app/item-page/simple/item-types/untyped-item/untyped-item.component.html +++ b/src/app/item-page/simple/item-types/untyped-item/untyped-item.component.html @@ -32,6 +32,14 @@ [metadataFields]="['dc.contributor.author', 'dc.creator']" [label]="'relationships.isAuthorOf' | translate"> + + + + diff --git a/src/themes/rdc/app/item-page/simple/item-types/untyped-item/untyped-item.component.html b/src/themes/rdc/app/item-page/simple/item-types/untyped-item/untyped-item.component.html index c97db888fc4..81b06476886 100644 --- a/src/themes/rdc/app/item-page/simple/item-types/untyped-item/untyped-item.component.html +++ b/src/themes/rdc/app/item-page/simple/item-types/untyped-item/untyped-item.component.html @@ -34,6 +34,14 @@ [metadataFields]="['dc.contributor.author', 'dc.creator']" [label]="'relationships.isAuthorOf' | translate"> + + + + From 91d1d0ff0373a8663a4cc6d30211f2d97da53859 Mon Sep 17 00:00:00 2001 From: qtamu Date: Thu, 29 Aug 2024 09:12:08 -0500 Subject: [PATCH 2/5] test rdc theme for displaying pi anc copi --- .../item-types/untyped-item/untyped-item.component.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/item-page/simple/item-types/untyped-item/untyped-item.component.html b/src/app/item-page/simple/item-types/untyped-item/untyped-item.component.html index ebbabadc050..c958e5da4ba 100644 --- a/src/app/item-page/simple/item-types/untyped-item/untyped-item.component.html +++ b/src/app/item-page/simple/item-types/untyped-item/untyped-item.component.html @@ -33,12 +33,12 @@ [label]="'relationships.isAuthorOf' | translate"> - - + --> Date: Thu, 29 Aug 2024 10:11:12 -0500 Subject: [PATCH 3/5] changed labels for PIs and Copis to test the display --- .../untyped-item/untyped-item.component.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/themes/rdc/app/item-page/simple/item-types/untyped-item/untyped-item.component.html b/src/themes/rdc/app/item-page/simple/item-types/untyped-item/untyped-item.component.html index 81b06476886..40fda76d920 100644 --- a/src/themes/rdc/app/item-page/simple/item-types/untyped-item/untyped-item.component.html +++ b/src/themes/rdc/app/item-page/simple/item-types/untyped-item/untyped-item.component.html @@ -38,8 +38,16 @@ + [metadataFields]="['dc.creator.pi']" + [label]="'Principal Investigator'"> + + + + Date: Thu, 29 Aug 2024 10:35:41 -0500 Subject: [PATCH 4/5] Test the copi label with the parentheses --- .../simple/item-types/untyped-item/untyped-item.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/themes/rdc/app/item-page/simple/item-types/untyped-item/untyped-item.component.html b/src/themes/rdc/app/item-page/simple/item-types/untyped-item/untyped-item.component.html index 40fda76d920..aacd566783d 100644 --- a/src/themes/rdc/app/item-page/simple/item-types/untyped-item/untyped-item.component.html +++ b/src/themes/rdc/app/item-page/simple/item-types/untyped-item/untyped-item.component.html @@ -47,7 +47,7 @@ [parentItem]="object" [itemType]="'Person'" [metadataFields]="['dc.creator.copi']" - [label]="'Co-Principal Investigator'"> + [label]="'Co-Principal Investigator(s)'"> Date: Thu, 29 Aug 2024 13:11:48 -0500 Subject: [PATCH 5/5] display PI and Copi in the simple item view --- .../item-types/untyped-item/untyped-item.component.html | 8 -------- .../item-types/untyped-item/untyped-item.component.html | 8 ++++---- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/src/app/item-page/simple/item-types/untyped-item/untyped-item.component.html b/src/app/item-page/simple/item-types/untyped-item/untyped-item.component.html index c958e5da4ba..904b7e039cc 100644 --- a/src/app/item-page/simple/item-types/untyped-item/untyped-item.component.html +++ b/src/app/item-page/simple/item-types/untyped-item/untyped-item.component.html @@ -32,14 +32,6 @@ [metadataFields]="['dc.contributor.author', 'dc.creator']" [label]="'relationships.isAuthorOf' | translate"> - - - diff --git a/src/themes/rdc/app/item-page/simple/item-types/untyped-item/untyped-item.component.html b/src/themes/rdc/app/item-page/simple/item-types/untyped-item/untyped-item.component.html index aacd566783d..0cf1cc1ca9b 100644 --- a/src/themes/rdc/app/item-page/simple/item-types/untyped-item/untyped-item.component.html +++ b/src/themes/rdc/app/item-page/simple/item-types/untyped-item/untyped-item.component.html @@ -34,22 +34,22 @@ [metadataFields]="['dc.contributor.author', 'dc.creator']" [label]="'relationships.isAuthorOf' | translate"> - + - - + + - +