-
-
diff --git a/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.ts b/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.ts
index acd56a99a..0e60e7253 100644
--- a/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.ts
+++ b/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.ts
@@ -710,6 +710,14 @@ export class DmpOverviewComponent extends BaseComponent implements OnInit {
return path + reference;
}
+ getSectionNameById(sectionId: Guid): string {
+ if (sectionId == null) return '';
+
+ let sections: DmpBlueprintDefinitionSection[] = this.dmp?.blueprint?.definition?.sections?.filter((section:DmpBlueprintDefinitionSection) => sectionId===section.id);
+
+ return sections == null ? '' : sections[0].label;
+ }
+
checkLockStatus(id: Guid) {
this.lockService.checkLockStatus(Guid.parse(id.toString())).pipe(takeUntil(this._destroyed))
.subscribe(lockStatus => {
@@ -757,6 +765,7 @@ export class DmpOverviewComponent extends BaseComponent implements OnInit {
[nameof(x => x.descriptions), nameof(x => x.status)].join('.'),
[nameof(x => x.descriptions), nameof(x => x.isActive)].join('.'),
[nameof(x => x.dmpUsers), nameof(x => x.id)].join('.'),
+ [nameof(x => x.dmpUsers), nameof(x => x.sectionId)].join('.'),
[nameof(x => x.dmpUsers), nameof(x => x.user.id)].join('.'),
[nameof(x => x.dmpUsers), nameof(x => x.user.name)].join('.'),
[nameof(x => x.dmpUsers), nameof(x => x.role)].join('.'),
diff --git a/dmp-frontend/src/assets/i18n/en.json b/dmp-frontend/src/assets/i18n/en.json
index b8e9bc3ff..39b15fbc1 100644
--- a/dmp-frontend/src/assets/i18n/en.json
+++ b/dmp-frontend/src/assets/i18n/en.json
@@ -703,6 +703,9 @@
"MIN-DESCRIPTIONS-DIALOG": {
"TITLE": "Min({{minMultiplicity}}) Descriptions needed using this template.",
"MESSAGE": "Add Description."
+ },
+ "ROLES": {
+ "ALL-SECTIONS": "All Sections"
}
},
"DESCRIPTION-OVERVIEW": {