From 3014484eda60671c1a4d2518ea29834866367d9b Mon Sep 17 00:00:00 2001 From: jcreel Date: Wed, 22 Jul 2026 13:40:01 -0500 Subject: [PATCH 1/3] Added agency, award number, and time period fields with their glosses. --- .../untyped-item/untyped-item.component.html | 18 ++++++++++++++++++ src/themes/rdc/assets/i18n/en.json5 | 6 ++++++ 2 files changed, 24 insertions(+) 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 c9262204506..8c348d1f5ac 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 @@ -69,6 +69,24 @@

{{"item.page.co-principal-investigat [label]="'item.page.department' | translate"> + + + + + + + + + + + + diff --git a/src/themes/rdc/assets/i18n/en.json5 b/src/themes/rdc/assets/i18n/en.json5 index 86f2c3655ea..18fb37af768 100644 --- a/src/themes/rdc/assets/i18n/en.json5 +++ b/src/themes/rdc/assets/i18n/en.json5 @@ -9,6 +9,12 @@ "item.page.department": "Department", + "item.page.funding-agency": "Funding Agency", + + "item.page.sponsor-award-number": "Sponsor Award Number", + + "item.page.period-of-performance": "Period of Performance", + "item.page.principal-investigators": "Principal Investigators", "item.page.research-project": "Research Project", From 61d1ae32a65871f53f703b34da5d24dbe63117b8 Mon Sep 17 00:00:00 2001 From: jcreel Date: Thu, 23 Jul 2026 12:59:07 -0500 Subject: [PATCH 2/3] Using Date as gloss for period of performance --- src/themes/rdc/assets/i18n/en.json5 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/themes/rdc/assets/i18n/en.json5 b/src/themes/rdc/assets/i18n/en.json5 index 18fb37af768..7a70161fc8e 100644 --- a/src/themes/rdc/assets/i18n/en.json5 +++ b/src/themes/rdc/assets/i18n/en.json5 @@ -13,7 +13,7 @@ "item.page.sponsor-award-number": "Sponsor Award Number", - "item.page.period-of-performance": "Period of Performance", + "item.page.period-of-performance": "Date", "item.page.principal-investigators": "Principal Investigators", From c9b55878288c374e3ea7afe630e960acf5a628dc Mon Sep 17 00:00:00 2001 From: jcreel Date: Thu, 30 Jul 2026 15:33:09 -0500 Subject: [PATCH 3/3] Use Period of Performance range instead of single date --- .../untyped-item/untyped-item.component.html | 12 ++++++++---- .../untyped-item/untyped-item.component.ts | 6 ++++++ src/themes/rdc/assets/i18n/en.json5 | 2 +- 3 files changed, 15 insertions(+), 5 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 8c348d1f5ac..b85abc000f6 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 @@ -82,10 +82,14 @@

{{"item.page.co-principal-investigat - - + @if (hasPeriodOfPerformance(object)) { +
+

{{"item.page.period-of-performance" | translate}}

+
+ {{object.firstMetadataValue('dc.date.projectStart')}} through {{object.firstMetadataValue('dc.date.projectEnd')}} +
+
+ } 0; } + hasPeriodOfPerformance(dso: DSpaceObject): boolean { + return this.isResearchProject(dso) + && dso?.metadata?.['dc.date.projectStart']?.length > 0 + && dso?.metadata?.['dc.date.projectEnd']?.length > 0; + } + private isResearchProject(dso: DSpaceObject): boolean { return dso?.getRenderTypes() .filter((type) => typeof type === 'string') diff --git a/src/themes/rdc/assets/i18n/en.json5 b/src/themes/rdc/assets/i18n/en.json5 index 7a70161fc8e..18fb37af768 100644 --- a/src/themes/rdc/assets/i18n/en.json5 +++ b/src/themes/rdc/assets/i18n/en.json5 @@ -13,7 +13,7 @@ "item.page.sponsor-award-number": "Sponsor Award Number", - "item.page.period-of-performance": "Date", + "item.page.period-of-performance": "Period of Performance", "item.page.principal-investigators": "Principal Investigators",