From 3e294fa5890a1c38315bbed54d97e241e338ad93 Mon Sep 17 00:00:00 2001 From: amentis Date: Mon, 8 Jul 2024 14:37:13 +0300 Subject: [PATCH] rename dmp to plan frontend changes --- .../src/app/core/common/enum/annotation-entity-type.ts | 2 +- .../src/app/core/common/enum/file-transformer-entity-type.ts | 2 +- .../services/file-transformer/file-transformer.service.ts | 2 +- .../listing/filtering/description-filter.component.html | 4 ++-- .../listing/listing-item/plan-listing-item.component.html | 4 ++-- .../src/app/ui/plan/overview/plan-overview.component.html | 4 ++-- .../ui/plan/plan-editor-blueprint/plan-editor.component.html | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/dmp-frontend/src/app/core/common/enum/annotation-entity-type.ts b/dmp-frontend/src/app/core/common/enum/annotation-entity-type.ts index ae1df923f..9c1d0bfdb 100644 --- a/dmp-frontend/src/app/core/common/enum/annotation-entity-type.ts +++ b/dmp-frontend/src/app/core/common/enum/annotation-entity-type.ts @@ -1,4 +1,4 @@ export enum AnnotationEntityType { Description = "description", - Dmp = "dmp" + Plan = "plan" } diff --git a/dmp-frontend/src/app/core/common/enum/file-transformer-entity-type.ts b/dmp-frontend/src/app/core/common/enum/file-transformer-entity-type.ts index 5330267b0..ac8d5f013 100644 --- a/dmp-frontend/src/app/core/common/enum/file-transformer-entity-type.ts +++ b/dmp-frontend/src/app/core/common/enum/file-transformer-entity-type.ts @@ -1,4 +1,4 @@ export enum FileTransformerEntityType { - Dmp = 0, + Plan = 0, Description = 1 } diff --git a/dmp-frontend/src/app/core/services/file-transformer/file-transformer.service.ts b/dmp-frontend/src/app/core/services/file-transformer/file-transformer.service.ts index 7748bc475..894d5983f 100644 --- a/dmp-frontend/src/app/core/services/file-transformer/file-transformer.service.ts +++ b/dmp-frontend/src/app/core/services/file-transformer/file-transformer.service.ts @@ -30,7 +30,7 @@ export class FileTransformerService extends BaseService { private _loading: boolean = false; private xmlExportRepo: RepositoryFileFormat = { - entityTypes: [FileTransformerEntityType.Description, FileTransformerEntityType.Dmp], + entityTypes: [FileTransformerEntityType.Description, FileTransformerEntityType.Plan], format: "xml", hasLogo: true, icon: "fa-file-code-o", diff --git a/dmp-frontend/src/app/ui/description/listing/filtering/description-filter.component.html b/dmp-frontend/src/app/ui/description/listing/filtering/description-filter.component.html index f19b2df65..8ec8a0feb 100644 --- a/dmp-frontend/src/app/ui/description/listing/filtering/description-filter.component.html +++ b/dmp-frontend/src/app/ui/description/listing/filtering/description-filter.component.html @@ -32,7 +32,7 @@ - +
{{'DESCRIPTION-LISTING.FILTERS.ASSOCIATED-PLANS.NAME' | translate}}
@@ -41,7 +41,7 @@
- + diff --git a/dmp-frontend/src/app/ui/plan/listing/listing-item/plan-listing-item.component.html b/dmp-frontend/src/app/ui/plan/listing/listing-item/plan-listing-item.component.html index 72506c325..96b635f3b 100644 --- a/dmp-frontend/src/app/ui/plan/listing/listing-item/plan-listing-item.component.html +++ b/dmp-frontend/src/app/ui/plan/listing/listing-item/plan-listing-item.component.html @@ -28,7 +28,7 @@ {{'GENERAL.ACTIONS.SHOW-MORE' | translate}}
- open_in_new{{'PLAN-LISTING.ACTIONS.EXPORT' | translate}} + open_in_new{{'PLAN-LISTING.ACTIONS.EXPORT' | translate}} add{{'PLAN-LISTING.ACTIONS.ADD-DESCRIPTION-SHORT' | translate}} group_add{{'PLAN-LISTING.ACTIONS.INVITE-SHORT' | translate}} filter_none{{'PLAN-LISTING.ACTIONS.CLONE' | translate}} @@ -38,7 +38,7 @@ more_horiz
- diff --git a/dmp-frontend/src/app/ui/plan/overview/plan-overview.component.html b/dmp-frontend/src/app/ui/plan/overview/plan-overview.component.html index 7233e46b1..b0017ded6 100644 --- a/dmp-frontend/src/app/ui/plan/overview/plan-overview.component.html +++ b/dmp-frontend/src/app/ui/plan/overview/plan-overview.component.html @@ -203,7 +203,7 @@ - +
- diff --git a/dmp-frontend/src/app/ui/plan/plan-editor-blueprint/plan-editor.component.html b/dmp-frontend/src/app/ui/plan/plan-editor-blueprint/plan-editor.component.html index f039e8106..aa09802c3 100644 --- a/dmp-frontend/src/app/ui/plan/plan-editor-blueprint/plan-editor.component.html +++ b/dmp-frontend/src/app/ui/plan/plan-editor-blueprint/plan-editor.component.html @@ -17,7 +17,7 @@ expand_more -