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..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 @@ -69,6 +69,28 @@

{{"item.page.co-principal-investigat [label]="'item.page.department' | translate"> + + + + + + + + + + @if (hasPeriodOfPerformance(object)) { +
+

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

+
+ {{object.firstMetadataValue('dc.date.projectStart')}} through {{object.firstMetadataValue('dc.date.projectEnd')}} +
+
+ } + diff --git a/src/themes/rdc/app/item-page/simple/item-types/untyped-item/untyped-item.component.ts b/src/themes/rdc/app/item-page/simple/item-types/untyped-item/untyped-item.component.ts index 402b1ed58e3..b1193a21072 100644 --- a/src/themes/rdc/app/item-page/simple/item-types/untyped-item/untyped-item.component.ts +++ b/src/themes/rdc/app/item-page/simple/item-types/untyped-item/untyped-item.component.ts @@ -131,6 +131,12 @@ export class UntypedItemComponent extends BaseComponent { && dso?.metadata?.['dc.relation.profileurl']?.length > 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 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",