From 4bf02e1bae3eeb78e318a9bfddde594a85a3586e Mon Sep 17 00:00:00 2001 From: amentis Date: Mon, 8 Jul 2024 11:28:37 +0300 Subject: [PATCH 1/2] rename dmp to plan notification type enum --- .../core/enum/notification-type.enum.ts | 10 +++++----- .../core/formatting/enum-utils.service.ts | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/dmp-frontend/src/notification-service/core/enum/notification-type.enum.ts b/dmp-frontend/src/notification-service/core/enum/notification-type.enum.ts index d134f90cc..f0419b9f6 100644 --- a/dmp-frontend/src/notification-service/core/enum/notification-type.enum.ts +++ b/dmp-frontend/src/notification-service/core/enum/notification-type.enum.ts @@ -1,15 +1,15 @@ export enum NotificationType { - dmpInvitationExternalUserType = '065deecd-21bb-44af-9983-e660fdf24bc4', - dmpInvitationExistingUserType = '4904dea2-5079-46d3-83be-3a19c9ab45dc', + planInvitationExternalUserType = '065deecd-21bb-44af-9983-e660fdf24bc4', + planInvitationExistingUserType = '4904dea2-5079-46d3-83be-3a19c9ab45dc', descriptionCreatedType = '8965b1d5-99a6-4acf-9016-c0d0ce341364', - dmpModifiedType = '4542262a-22f8-4baa-9db6-1c8e70ac1dbb', - dmpFinalisedType = '90db0b46-42de-bd89-aebf-6f27efeb256e', + planModifiedType = '4542262a-22f8-4baa-9db6-1c8e70ac1dbb', + planFinalisedType = '90db0b46-42de-bd89-aebf-6f27efeb256e', descriptionAnnotationCreated = 'db1e99d2-a240-4e75-9bb2-ef25b234c1f0', descriptionModifiedType = '4fdbfa80-7a71-4a69-b854-67cbb70648f1', descriptionFinalisedType = '33790bad-94d4-488a-8ee2-7f6295ca18ea', mergeAccountConfirmationType = 'bfe68845-cb05-4c5a-a03d-29161a7c9660', removeCredentialConfirmationType = 'c9bc3f16-057e-4bba-8a5f-36bd835e5604', - dmpDepositType = '55736f7a-83ab-4190-af43-9d031a6f9612', + planDepositType = '55736f7a-83ab-4190-af43-9d031a6f9612', descriptionTemplateInvitationType = '223bb607-efa1-4ce7-99ec-4beabfef9a8b', contactSupportType = '5b1d6c52-88f9-418b-9b8a-6f1f963d9ead', publicContactSupportType = 'b542b606-acc6-4629-adef-4d8ee2f01222', diff --git a/dmp-frontend/src/notification-service/core/formatting/enum-utils.service.ts b/dmp-frontend/src/notification-service/core/formatting/enum-utils.service.ts index 2b104228e..5c83bd856 100644 --- a/dmp-frontend/src/notification-service/core/formatting/enum-utils.service.ts +++ b/dmp-frontend/src/notification-service/core/formatting/enum-utils.service.ts @@ -28,17 +28,17 @@ export class NotificationServiceEnumUtils extends BaseEnumUtilsService { public toNotificationTypeString(value: NotificationType): string { switch (value) { - case NotificationType.dmpInvitationExternalUserType: return this.language.instant('TYPES.NOTIFICATION-TEMPLATE-NOTIFICATION-TYPE.PLAN-INVITATION-EXTERNAL-USER'); - case NotificationType.dmpInvitationExistingUserType: return this.language.instant('TYPES.NOTIFICATION-TEMPLATE-NOTIFICATION-TYPE.PLAN-INVITATION-EXISTING-USER'); - case NotificationType.dmpModifiedType: return this.language.instant('TYPES.NOTIFICATION-TEMPLATE-NOTIFICATION-TYPE.PLAN-MODIFIED'); - case NotificationType.dmpFinalisedType: return this.language.instant('TYPES.NOTIFICATION-TEMPLATE-NOTIFICATION-TYPE.PLAN-FINALISED'); + case NotificationType.planInvitationExternalUserType: return this.language.instant('TYPES.NOTIFICATION-TEMPLATE-NOTIFICATION-TYPE.PLAN-INVITATION-EXTERNAL-USER'); + case NotificationType.planInvitationExistingUserType: return this.language.instant('TYPES.NOTIFICATION-TEMPLATE-NOTIFICATION-TYPE.PLAN-INVITATION-EXISTING-USER'); + case NotificationType.planModifiedType: return this.language.instant('TYPES.NOTIFICATION-TEMPLATE-NOTIFICATION-TYPE.PLAN-MODIFIED'); + case NotificationType.planFinalisedType: return this.language.instant('TYPES.NOTIFICATION-TEMPLATE-NOTIFICATION-TYPE.PLAN-FINALISED'); case NotificationType.descriptionCreatedType: return this.language.instant('TYPES.NOTIFICATION-TEMPLATE-NOTIFICATION-TYPE.DESCRIPTION-CREATED'); case NotificationType.descriptionModifiedType: return this.language.instant('TYPES.NOTIFICATION-TEMPLATE-NOTIFICATION-TYPE.DESCRIPTION-MODIFIED'); case NotificationType.descriptionFinalisedType: return this.language.instant('TYPES.NOTIFICATION-TEMPLATE-NOTIFICATION-TYPE.DESCRIPTION-FINALISED'); case NotificationType.descriptionAnnotationCreated: return this.language.instant('TYPES.NOTIFICATION-TEMPLATE-NOTIFICATION-TYPE.DESCRIPTION-ANNOTATION-CREATED'); case NotificationType.mergeAccountConfirmationType: return this.language.instant('TYPES.NOTIFICATION-TEMPLATE-NOTIFICATION-TYPE.MERGE-ACCOUNT-CONFIRMATION'); case NotificationType.removeCredentialConfirmationType: return this.language.instant('TYPES.NOTIFICATION-TEMPLATE-NOTIFICATION-TYPE.REMOVE-CREDENTIAL-CONFIRMATION'); - case NotificationType.dmpDepositType: return this.language.instant('TYPES.NOTIFICATION-TEMPLATE-NOTIFICATION-TYPE.PLAN-DEPOSIT'); + case NotificationType.planDepositType: return this.language.instant('TYPES.NOTIFICATION-TEMPLATE-NOTIFICATION-TYPE.PLAN-DEPOSIT'); case NotificationType.descriptionTemplateInvitationType: return this.language.instant('TYPES.NOTIFICATION-TEMPLATE-NOTIFICATION-TYPE.DESCRIPTION-TEMPLATE-INVITATION'); case NotificationType.contactSupportType: return this.language.instant('TYPES.NOTIFICATION-TEMPLATE-NOTIFICATION-TYPE.CONTACT-SUPPORT'); case NotificationType.publicContactSupportType: return this.language.instant('TYPES.NOTIFICATION-TEMPLATE-NOTIFICATION-TYPE.PUBLIC-CONTACT-SUPPORT'); From 74c7d892cb662c3fe9408b216668a7997dc74944 Mon Sep 17 00:00:00 2001 From: amentis Date: Mon, 8 Jul 2024 11:49:29 +0300 Subject: [PATCH 2/2] rename dmp to plan for scss files and html classes --- .../plan-blueprint-editor.component.html | 2 +- .../plan-blueprint-editor.component.scss | 2 +- ...n-blueprint-listing-filters.component.scss | 2 +- .../plan-blueprint-listing.component.html | 2 +- .../plan-blueprint-listing.component.scss | 2 +- .../app/ui/dashboard/dashboard.component.scss | 16 +++++++------- .../recent-edited-activity.component.html | 2 +- .../recent-edited-activity.component.scss | 14 ++++++------ ...cription-base-fields-editor.component.scss | 4 ++-- .../editor/description-editor.component.html | 10 ++++----- .../editor/description-editor.component.scss | 10 ++++----- .../description-listing.component.scss | 2 +- .../description-filter.component.html | 2 +- .../description-listing-item.component.html | 4 ++-- .../description-listing-item.component.scss | 18 +++++++-------- .../description-overview.component.html | 4 ++-- .../description-overview.component.scss | 10 ++++----- ...tart-new-description-dialog.component.html | 2 +- ...tart-new-description-dialog.component.scss | 6 ++--- .../src/app/ui/navbar/navbar.component.html | 2 +- .../src/app/ui/navbar/navbar.component.scss | 2 +- .../plan-invitation-dialog.component.html | 2 +- .../plan-invitation-dialog.component.scss | 2 +- .../filtering/plan-filter.component.html | 2 +- .../filtering/plan-filter.component.scss | 2 +- .../plan-listing-item.component.html | 16 +++++++------- .../plan-listing-item.component.scss | 22 +++++++++---------- .../plan/listing/plan-listing.component.html | 4 ++-- .../plan/listing/plan-listing.component.scss | 4 ++-- .../start-new-plan-dialog.component.html | 4 ++-- .../start-new-plan-dialog.component.scss | 2 +- .../overview/plan-overview.component.html | 10 ++++----- .../overview/plan-overview.component.scss | 12 +++++----- ...plan-contact-prefill-dialog.component.html | 2 +- ...plan-contact-prefill-dialog.component.scss | 2 +- .../plan-delete-dialog.component.html | 2 +- .../plan-delete-dialog.component.scss | 2 +- .../plan-editor.component.html | 4 ++-- .../plan-editor.component.scss | 6 ++--- .../plan-finalize-dialog.component.html | 2 +- .../plan-finalize-dialog.component.scss | 2 +- .../src/app/ui/sidebar/sidebar.component.html | 2 +- 42 files changed, 112 insertions(+), 112 deletions(-) diff --git a/dmp-frontend/src/app/ui/admin/plan-blueprint/editor/plan-blueprint-editor.component.html b/dmp-frontend/src/app/ui/admin/plan-blueprint/editor/plan-blueprint-editor.component.html index 7306495d2..f4d183ae9 100644 --- a/dmp-frontend/src/app/ui/admin/plan-blueprint/editor/plan-blueprint-editor.component.html +++ b/dmp-frontend/src/app/ui/admin/plan-blueprint/editor/plan-blueprint-editor.component.html @@ -1,5 +1,5 @@
-
+
diff --git a/dmp-frontend/src/app/ui/admin/plan-blueprint/editor/plan-blueprint-editor.component.scss b/dmp-frontend/src/app/ui/admin/plan-blueprint/editor/plan-blueprint-editor.component.scss index ebd157447..b43ea4488 100644 --- a/dmp-frontend/src/app/ui/admin/plan-blueprint/editor/plan-blueprint-editor.component.scss +++ b/dmp-frontend/src/app/ui/admin/plan-blueprint/editor/plan-blueprint-editor.component.scss @@ -4,7 +4,7 @@ margin-bottom: 0 !important; } -.dmp-blueprint-editor { +.plan-blueprint-editor { // margin-top: 1.3rem; // margin-left: 1em; // margin-right: 3em; diff --git a/dmp-frontend/src/app/ui/admin/plan-blueprint/listing/filters/plan-blueprint-listing-filters.component.scss b/dmp-frontend/src/app/ui/admin/plan-blueprint/listing/filters/plan-blueprint-listing-filters.component.scss index 8f945e48d..e595d43ee 100644 --- a/dmp-frontend/src/app/ui/admin/plan-blueprint/listing/filters/plan-blueprint-listing-filters.component.scss +++ b/dmp-frontend/src/app/ui/admin/plan-blueprint/listing/filters/plan-blueprint-listing-filters.component.scss @@ -1,4 +1,4 @@ -.dmp-blueprint-listing-filters { +.plan-blueprint-listing-filters { } diff --git a/dmp-frontend/src/app/ui/admin/plan-blueprint/listing/plan-blueprint-listing.component.html b/dmp-frontend/src/app/ui/admin/plan-blueprint/listing/plan-blueprint-listing.component.html index 20ade4205..acb0e0059 100644 --- a/dmp-frontend/src/app/ui/admin/plan-blueprint/listing/plan-blueprint-listing.component.html +++ b/dmp-frontend/src/app/ui/admin/plan-blueprint/listing/plan-blueprint-listing.component.html @@ -1,5 +1,5 @@
-
+
diff --git a/dmp-frontend/src/app/ui/admin/plan-blueprint/listing/plan-blueprint-listing.component.scss b/dmp-frontend/src/app/ui/admin/plan-blueprint/listing/plan-blueprint-listing.component.scss index 24a1e3c86..2ddbff158 100644 --- a/dmp-frontend/src/app/ui/admin/plan-blueprint/listing/plan-blueprint-listing.component.scss +++ b/dmp-frontend/src/app/ui/admin/plan-blueprint/listing/plan-blueprint-listing.component.scss @@ -3,7 +3,7 @@ border-radius: 4px; } -.dmp-blueprint-listing { +.plan-blueprint-listing { // margin-top: 1.3rem; // margin-left: 1rem; // margin-right: 2rem; diff --git a/dmp-frontend/src/app/ui/dashboard/dashboard.component.scss b/dmp-frontend/src/app/ui/dashboard/dashboard.component.scss index b9f877ef7..3de8e3f3c 100644 --- a/dmp-frontend/src/app/ui/dashboard/dashboard.component.scss +++ b/dmp-frontend/src/app/ui/dashboard/dashboard.component.scss @@ -155,7 +155,7 @@ padding-left: 3rem; } -.dmp-card, +.plan-card, .description-card { min-width: 712px; /* min-height: 308px; */ @@ -182,7 +182,7 @@ input[type="text"] { padding-left: 15px; } -.dmp-label { +.plan-label { background: var(--primary-color) 0% 0% no-repeat padding-box; border-radius: 4px 0px; opacity: 1; @@ -213,7 +213,7 @@ input[type="text"] { // padding-bottom: 0.4rem; } -.dmp-subtitle, +.plan-subtitle, .description-subtitle { .icon-align { @@ -225,7 +225,7 @@ input[type="text"] { } .description-card-actions, -.dmp-card-actions { +.plan-card-actions { display: flex; flex-direction: row; border-top: 1px solid #dbdbdb; @@ -234,24 +234,24 @@ input[type="text"] { } .description-card-actions a, -.dmp-card-actions a { +.plan-card-actions a { color: #848484 !important; text-decoration: none !important; } .description-card-actions a:hover, -.dmp-card-actions a:hover { +.plan-card-actions a:hover { color: var(--primary-color) !important; } -.dmp-description-descriptions-title { +.plan-description-descriptions-title { color: #000000; opacity: 0.6; padding-top: 1.5rem; padding-bottom: 0.8rem; } -.dmp-description-descriptions-name { +.plan-description-descriptions-name { color: #000000; opacity: 0.6; font-weight: 700; diff --git a/dmp-frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.html b/dmp-frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.html index 3258dff80..29d91afb9 100644 --- a/dmp-frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.html +++ b/dmp-frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.html @@ -31,7 +31,7 @@
- +
diff --git a/dmp-frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.scss b/dmp-frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.scss index 62bf4a122..183b977f0 100644 --- a/dmp-frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.scss +++ b/dmp-frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.scss @@ -13,7 +13,7 @@ input[type="text"] { padding-left: 15px; } -.dmp-label { +.plan-label { background: var(--primary-color) 0% 0% no-repeat padding-box; border-radius: 4px 0px; opacity: 1; @@ -31,7 +31,7 @@ input[type="text"] { } .description-card-actions, -.dmp-card-actions { +.plan-card-actions { display: flex; flex-direction: row; border-top: 1px solid #dbdbdb; @@ -40,7 +40,7 @@ input[type="text"] { } .description-card-actions, -.dmp-card-actions { +.plan-card-actions { display: flex; flex-direction: row; border-top: 1px solid #dbdbdb; @@ -49,24 +49,24 @@ input[type="text"] { } .description-card-actions a, -.dmp-card-actions a { +.plan-card-actions a { color: #848484 !important; text-decoration: none !important; } .description-card-actions a:hover, -.dmp-card-actions a:hover { +.plan-card-actions a:hover { color: var(--primary-color) !important; } -.dmp-description-descriptions-title { +.plan-description-descriptions-title { color: #000000; opacity: 0.6; padding-top: 1.5rem; padding-bottom: 0.8rem; } -.dmp-description-descriptions-name { +.plan-description-descriptions-name { color: #000000; opacity: 0.6; font-weight: 700; diff --git a/dmp-frontend/src/app/ui/description/editor/description-base-fields-editor/description-base-fields-editor.component.scss b/dmp-frontend/src/app/ui/description/editor/description-base-fields-editor/description-base-fields-editor.component.scss index 099fc0049..61e967700 100644 --- a/dmp-frontend/src/app/ui/description/editor/description-base-fields-editor/description-base-fields-editor.component.scss +++ b/dmp-frontend/src/app/ui/description/editor/description-base-fields-editor/description-base-fields-editor.component.scss @@ -57,14 +57,14 @@ color: var(--primary-color-3) !important; } - .dmp-link { + .plan-link { color: #3fafac; font-weight: 400; font-size: 16px; cursor: pointer; } - .dmp-link:hover { + .plan-link:hover { text-decoration: underline; } } diff --git a/dmp-frontend/src/app/ui/description/editor/description-editor.component.html b/dmp-frontend/src/app/ui/description/editor/description-editor.component.html index 6d9d1b337..730b4c3fe 100644 --- a/dmp-frontend/src/app/ui/description/editor/description-editor.component.html +++ b/dmp-frontend/src/app/ui/description/editor/description-editor.component.html @@ -15,9 +15,9 @@
{{'DESCRIPTION-EDITOR.TITLE-PREVIEW-DESCRIPTION' | translate}}
-
-
{{'DESCRIPTION-EDITOR.TO-PLAN' | translate}}
-
: {{ item?.plan?.label }}
+
+
{{'DESCRIPTION-EDITOR.TO-PLAN' | translate}}
+
: {{ item?.plan?.label }}
open_in_new @@ -86,11 +86,11 @@
-
+
chevron_left {{'DESCRIPTION-EDITOR.ACTIONS.BACK-TO' | translate}}
-
{{'DESCRIPTION-EDITOR.PLAN' | translate}}
+
{{'DESCRIPTION-EDITOR.PLAN' | translate}}
{{'DESCRIPTION-EDITOR.TOC.TITLE' | translate}}
diff --git a/dmp-frontend/src/app/ui/description/editor/description-editor.component.scss b/dmp-frontend/src/app/ui/description/editor/description-editor.component.scss index d3e4b63f0..8603d2aff 100644 --- a/dmp-frontend/src/app/ui/description/editor/description-editor.component.scss +++ b/dmp-frontend/src/app/ui/description/editor/description-editor.component.scss @@ -202,7 +202,7 @@ align-items: center; } - .description-to-dmp { + .description-to-plan { display: flex; align-items: center; padding: 0; @@ -213,11 +213,11 @@ line-height: 25px; } - .dmp-info { + .plan-info { padding-top: 0.75rem; } - .dmp-label { + .plan-label { min-width: 67px; height: 37px; background: var(--primary-color) 0% 0% no-repeat padding-box; @@ -229,7 +229,7 @@ justify-content: center; } - .dmp-title { + .plan-title { text-align: left; font-weight: 700; font-size: 1rem; @@ -345,7 +345,7 @@ } } - .back-to-dmp:hover { + .back-to-plan:hover { background: #ececec; border-radius: 6px; } diff --git a/dmp-frontend/src/app/ui/description/listing/description-listing.component.scss b/dmp-frontend/src/app/ui/description/listing/description-listing.component.scss index 0092defe6..053d11082 100644 --- a/dmp-frontend/src/app/ui/description/listing/description-listing.component.scss +++ b/dmp-frontend/src/app/ui/description/listing/description-listing.component.scss @@ -16,7 +16,7 @@ padding-bottom: 2em; } -.explore-dmp-content { +.explore-plan-content { padding: 30px 15px; } 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 42f34d4b8..58adc8ad1 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 @@ -1,5 +1,5 @@ -
+
diff --git a/dmp-frontend/src/app/ui/description/listing/listing-item/description-listing-item.component.html b/dmp-frontend/src/app/ui/description/listing/listing-item/description-listing-item.component.html index 21d083e01..2f62c7252 100644 --- a/dmp-frontend/src/app/ui/description/listing/listing-item/description-listing-item.component.html +++ b/dmp-frontend/src/app/ui/description/listing/listing-item/description-listing-item.component.html @@ -18,9 +18,9 @@
{{'DESCRIPTION-LISTING.PART-OF' | translate}} -
{{'DESCRIPTION-LISTING.PLAN' | translate}}
+
{{'DESCRIPTION-LISTING.PLAN' | translate}}
-
{{description.plan?.label}}
+
{{description.plan?.label}}
diff --git a/dmp-frontend/src/app/ui/description/listing/listing-item/description-listing-item.component.scss b/dmp-frontend/src/app/ui/description/listing/listing-item/description-listing-item.component.scss index 3b5125266..62c47e2af 100644 --- a/dmp-frontend/src/app/ui/description/listing/listing-item/description-listing-item.component.scss +++ b/dmp-frontend/src/app/ui/description/listing/listing-item/description-listing-item.component.scss @@ -77,7 +77,7 @@ p { color: #08bd63; } -.dmp-card, +.plan-card, .description-card { min-width: 712px; /* min-height: 308px; */ @@ -112,7 +112,7 @@ input[type="text"] { opacity: 0.6; } -.dmp-label { +.plan-label { background: var(--primary-color) 0% 0% no-repeat padding-box; border-radius: 4px 0px; opacity: 1; @@ -135,7 +135,7 @@ input[type="text"] { color: #212121; } -.dmp-title, +.plan-title, .description-title { text-align: left; font-weight: 600; @@ -174,7 +174,7 @@ input[type="text"] { // padding-bottom: 0.4rem; } -.dmp-subtitle, +.plan-subtitle, .description-subtitle { .icon-align { @@ -186,7 +186,7 @@ input[type="text"] { } .description-card-actions, -.dmp-card-actions { +.plan-card-actions { display: flex; flex-direction: row; border-top: 1px solid #dbdbdb; @@ -195,24 +195,24 @@ input[type="text"] { } .description-card-actions a, -.dmp-card-actions a { +.plan-card-actions a { color: #848484 !important; text-decoration: none !important; } .description-card-actions a:hover, -.dmp-card-actions a:hover { +.plan-card-actions a:hover { color: var(--primary-color) !important; } -.dmp-description-descriptions-title { +.plan-description-descriptions-title { color: #000000; opacity: 0.6; padding-top: 1.5rem; padding-bottom: 0.8rem; } -.dmp-description-descriptions-name { +.plan-description-descriptions-name { color: #000000; opacity: 0.6; font-weight: 700; diff --git a/dmp-frontend/src/app/ui/description/overview/description-overview.component.html b/dmp-frontend/src/app/ui/description/overview/description-overview.component.html index a9e455393..72babf3c2 100644 --- a/dmp-frontend/src/app/ui/description/overview/description-overview.component.html +++ b/dmp-frontend/src/app/ui/description/overview/description-overview.component.html @@ -72,8 +72,8 @@
-
diff --git a/dmp-frontend/src/app/ui/navbar/navbar.component.scss b/dmp-frontend/src/app/ui/navbar/navbar.component.scss index 99ce3843e..288243814 100644 --- a/dmp-frontend/src/app/ui/navbar/navbar.component.scss +++ b/dmp-frontend/src/app/ui/navbar/navbar.component.scss @@ -146,7 +146,7 @@ $mat-card-header-size: 40px !default; border-radius: 6px; } -.new-dmp-dialog { +.new-plan-dialog { padding: 0em .5em 0em 0em; } ::ng-deep .mat-option-text { diff --git a/dmp-frontend/src/app/ui/plan/invitation/dialog/plan-invitation-dialog.component.html b/dmp-frontend/src/app/ui/plan/invitation/dialog/plan-invitation-dialog.component.html index 2c2dc6d6e..e81e922ae 100644 --- a/dmp-frontend/src/app/ui/plan/invitation/dialog/plan-invitation-dialog.component.html +++ b/dmp-frontend/src/app/ui/plan/invitation/dialog/plan-invitation-dialog.component.html @@ -1,4 +1,4 @@ -
+

{{'PLAN-USER-INVITATION-DIALOG.TITLE' | translate}}

diff --git a/dmp-frontend/src/app/ui/plan/invitation/dialog/plan-invitation-dialog.component.scss b/dmp-frontend/src/app/ui/plan/invitation/dialog/plan-invitation-dialog.component.scss index 2e0d5a2a7..3c69d0307 100644 --- a/dmp-frontend/src/app/ui/plan/invitation/dialog/plan-invitation-dialog.component.scss +++ b/dmp-frontend/src/app/ui/plan/invitation/dialog/plan-invitation-dialog.component.scss @@ -1,4 +1,4 @@ -.dmp-invitation-dialog { +.plan-invitation-dialog { padding: 2.5rem; .form-container { diff --git a/dmp-frontend/src/app/ui/plan/listing/filtering/plan-filter.component.html b/dmp-frontend/src/app/ui/plan/listing/filtering/plan-filter.component.html index 1a0ff11ca..a16a0e42d 100644 --- a/dmp-frontend/src/app/ui/plan/listing/filtering/plan-filter.component.html +++ b/dmp-frontend/src/app/ui/plan/listing/filtering/plan-filter.component.html @@ -1,4 +1,4 @@ -
+
diff --git a/dmp-frontend/src/app/ui/plan/listing/filtering/plan-filter.component.scss b/dmp-frontend/src/app/ui/plan/listing/filtering/plan-filter.component.scss index ae611c7b9..53df6bb9a 100644 --- a/dmp-frontend/src/app/ui/plan/listing/filtering/plan-filter.component.scss +++ b/dmp-frontend/src/app/ui/plan/listing/filtering/plan-filter.component.scss @@ -1,4 +1,4 @@ -.dmp-criteria { +.plan-criteria { mat-form-field { padding-bottom: 5px; width: 100%; 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 ad2f578d3..27401a5ef 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 @@ -1,12 +1,12 @@ -
+
-
{{ 'PLAN-LISTING.PLAN' | translate }}
+
{{ 'PLAN-LISTING.PLAN' | translate }}
{{ 'PLAN-LISTING.EDITED' | translate }}: {{ dmp.updatedAt | dateTimeFormatter: "d MMMM y" }}
{{ 'PLAN-LISTING.PUBLISHED' | translate }}: {{ dmp.finalizedAt | dateTimeFormatter: "d MMMM y" }}
-
{{dmp.label}}
-
+
{{dmp.label}}
+
{{ enumUtils.toPlanUserRolesString(planService.getCurrentUserRolesInPlan(dmp?.planUsers)) }} . public{{'TYPES.PLAN-VISIBILITY.PUBLIC' | translate}} @@ -17,17 +17,17 @@ . {{ 'PLAN-LISTING.GRANT' | translate }}: {{referenceService.getReferencesForTypesFirstSafe(dmp?.planReferences, [this.referenceTypeService.getGrantReferenceType()])?.reference?.label}}
-
{{'PLAN-LISTING.CONTAINED-DESCRIPTIONS' | translate}}: ({{ dmp.descriptions?.length }}) +
{{'PLAN-LISTING.CONTAINED-DESCRIPTIONS' | translate}}: ({{ dmp.descriptions?.length }})
-
{{description.label}},
-
{{description.label}}
+
{{description.label}},
+
{{description.label}}
{{'GENERAL.ACTIONS.SHOW-MORE' | 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}} diff --git a/dmp-frontend/src/app/ui/plan/listing/listing-item/plan-listing-item.component.scss b/dmp-frontend/src/app/ui/plan/listing/listing-item/plan-listing-item.component.scss index 65d3459eb..56c3ed07d 100644 --- a/dmp-frontend/src/app/ui/plan/listing/listing-item/plan-listing-item.component.scss +++ b/dmp-frontend/src/app/ui/plan/listing/listing-item/plan-listing-item.component.scss @@ -111,7 +111,7 @@ p { min-width: 74px; } -.dmp-card, +.plan-card, .description-card { min-width: 712px; /* min-height: 308px; */ @@ -147,7 +147,7 @@ input[type="text"] { opacity: 0.6; } -.dmp-label { +.plan-label { background: var(--primary-color) 0% 0% no-repeat padding-box; border-radius: 4px 0px; opacity: 1; @@ -157,7 +157,7 @@ input[type="text"] { line-height: 2.4; } -.dmp-title, +.plan-title, .description-title { text-align: left; font-weight: 600; @@ -169,7 +169,7 @@ input[type="text"] { } .description-subtitle, -.dmp-subtitle { +.plan-subtitle { display: flex; flex-direction: row; text-align: left; @@ -180,7 +180,7 @@ input[type="text"] { color: #848484; } -.dmp-title-draft, +.plan-title-draft, .description-title-draft { text-align: left; font-weight: 600; @@ -196,7 +196,7 @@ input[type="text"] { vertical-align: middle; } -.dmp-subtitle, +.plan-subtitle, .description-subtitle { .icon-align { @@ -208,7 +208,7 @@ input[type="text"] { } .description-card-actions, -.dmp-card-actions { +.plan-card-actions { display: flex; flex-direction: row; border-top: 1px solid #dbdbdb; @@ -217,24 +217,24 @@ input[type="text"] { } .description-card-actions a, -.dmp-card-actions a { +.plan-card-actions a { color: #848484 !important; text-decoration: none !important; } .description-card-actions a:hover, -.dmp-card-actions a:hover { +.plan-card-actions a:hover { color: var(--primary-color) !important; } -.dmp-description-descriptions-title { +.plan-description-descriptions-title { color: #000000; opacity: 0.6; padding-top: 1.5rem; padding-bottom: 0.8rem; } -.dmp-description-descriptions-name { +.plan-description-descriptions-name { color: #000000; opacity: 0.6; font-weight: 700; diff --git a/dmp-frontend/src/app/ui/plan/listing/plan-listing.component.html b/dmp-frontend/src/app/ui/plan/listing/plan-listing.component.html index 4f366d3ad..66c37cc6b 100644 --- a/dmp-frontend/src/app/ui/plan/listing/plan-listing.component.html +++ b/dmp-frontend/src/app/ui/plan/listing/plan-listing.component.html @@ -4,7 +4,7 @@

{{'PLAN-LISTING.TEXT-INFO' | translate}}

-

{{'PLAN-LISTING.TEXT-INFO-QUESTION' | translate}} {{'PLAN-LISTING.LINK-ZENODO' | translate}} {{'PLAN-LISTING.GET-IDEA' | translate}}

+

{{'PLAN-LISTING.TEXT-INFO-QUESTION' | translate}} {{'PLAN-LISTING.LINK-ZENODO' | translate}} {{'PLAN-LISTING.GET-IDEA' | translate}}

{{ 'GENERAL.ACTIONS.TAKE-A-TOUR'| translate }}
@@ -62,7 +62,7 @@
- +
diff --git a/dmp-frontend/src/app/ui/plan/listing/plan-listing.component.scss b/dmp-frontend/src/app/ui/plan/listing/plan-listing.component.scss index 0deed311d..c0165f04c 100644 --- a/dmp-frontend/src/app/ui/plan/listing/plan-listing.component.scss +++ b/dmp-frontend/src/app/ui/plan/listing/plan-listing.component.scss @@ -42,7 +42,7 @@ color: #999999 !important; } -.dmp-label { +.plan-label { color: #089dbb !important; } @@ -78,7 +78,7 @@ padding-bottom: 2em; } -.explore-dmp-content { +.explore-plan-content { padding: 30px 15px; } diff --git a/dmp-frontend/src/app/ui/plan/new/start-new-plan-dialogue/start-new-plan-dialog.component.html b/dmp-frontend/src/app/ui/plan/new/start-new-plan-dialogue/start-new-plan-dialog.component.html index dfc7c5794..82d659f4f 100644 --- a/dmp-frontend/src/app/ui/plan/new/start-new-plan-dialogue/start-new-plan-dialog.component.html +++ b/dmp-frontend/src/app/ui/plan/new/start-new-plan-dialogue/start-new-plan-dialog.component.html @@ -1,6 +1,6 @@ -
+
-
+
close
diff --git a/dmp-frontend/src/app/ui/plan/new/start-new-plan-dialogue/start-new-plan-dialog.component.scss b/dmp-frontend/src/app/ui/plan/new/start-new-plan-dialogue/start-new-plan-dialog.component.scss index bc7d5d102..44f81f6c8 100644 --- a/dmp-frontend/src/app/ui/plan/new/start-new-plan-dialogue/start-new-plan-dialog.component.scss +++ b/dmp-frontend/src/app/ui/plan/new/start-new-plan-dialogue/start-new-plan-dialog.component.scss @@ -3,7 +3,7 @@ padding: 24px; } -.start-new-dmp-dialog-wrapper { +.start-new-plan-dialog-wrapper { width: 33.0rem; min-height: 14rem; padding: 0.28rem 0.34rem 0.875rem 0.625rem; 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 890ea27a6..b22dcce4c 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 @@ -1,4 +1,4 @@ -
+
@@ -15,8 +15,8 @@
-
-
{{ dmp.label }}
+
+
{{ dmp.label }}
.
{{'PLAN-OVERVIEW.GRANT' | translate}}
-
{{referenceService.getReferencesForTypesFirstSafe(dmp?.planReferences, [this.referenceTypeService.getGrantReferenceType()])?.reference?.label}}
+
{{referenceService.getReferencesForTypesFirstSafe(dmp?.planReferences, [this.referenceTypeService.getGrantReferenceType()])?.reference?.label}}
{{'DESCRIPTION-OVERVIEW.RESEARCHERS' | translate}}
@@ -117,7 +117,7 @@
- @@ -100,7 +100,7 @@
-
+
{{'PLAN-EDITOR.FIELDS.BLUEPRINT' | translate}} *
{{'PLAN-EDITOR.FIELDS.BLUEPRINT' | translate}} diff --git a/dmp-frontend/src/app/ui/plan/plan-editor-blueprint/plan-editor.component.scss b/dmp-frontend/src/app/ui/plan/plan-editor-blueprint/plan-editor.component.scss index 83661dd7d..faea73a01 100644 --- a/dmp-frontend/src/app/ui/plan/plan-editor-blueprint/plan-editor.component.scss +++ b/dmp-frontend/src/app/ui/plan/plan-editor-blueprint/plan-editor.component.scss @@ -61,7 +61,7 @@ white-space: nowrap; } -.save-btn, .dmp-export-btn { +.save-btn, .plan-export-btn { background: #ffffff 0% 0% no-repeat padding-box !important; border-radius: 30px; opacity: 1; @@ -74,7 +74,7 @@ color: var(--primary-color); } -.dmp-stepper { +.plan-stepper { position: fixed; // height: 100%; display: flex; @@ -315,7 +315,7 @@ a:hover { margin-top: -80px; } -.dmp-blueprint-form { +.plan-blueprint-form { text-align: left; font-weight: 400; font-size: 16px; diff --git a/dmp-frontend/src/app/ui/plan/plan-finalize-dialog/plan-finalize-dialog.component.html b/dmp-frontend/src/app/ui/plan/plan-finalize-dialog/plan-finalize-dialog.component.html index 753699b23..d66d60ea2 100644 --- a/dmp-frontend/src/app/ui/plan/plan-finalize-dialog/plan-finalize-dialog.component.html +++ b/dmp-frontend/src/app/ui/plan/plan-finalize-dialog/plan-finalize-dialog.component.html @@ -13,7 +13,7 @@ {{ 'PLAN-FINALISE-DIALOG.PLAN' | translate }} - + {{ dmp.label }} diff --git a/dmp-frontend/src/app/ui/plan/plan-finalize-dialog/plan-finalize-dialog.component.scss b/dmp-frontend/src/app/ui/plan/plan-finalize-dialog/plan-finalize-dialog.component.scss index 30161d75a..091af3c57 100644 --- a/dmp-frontend/src/app/ui/plan/plan-finalize-dialog/plan-finalize-dialog.component.scss +++ b/dmp-frontend/src/app/ui/plan/plan-finalize-dialog/plan-finalize-dialog.component.scss @@ -59,7 +59,7 @@ padding: 0; } -.dmp-title { +.plan-title { font-weight: 500; color: black; } diff --git a/dmp-frontend/src/app/ui/sidebar/sidebar.component.html b/dmp-frontend/src/app/ui/sidebar/sidebar.component.html index f60085aed..3aef5e1d1 100644 --- a/dmp-frontend/src/app/ui/sidebar/sidebar.component.html +++ b/dmp-frontend/src/app/ui/sidebar/sidebar.component.html @@ -6,7 +6,7 @@ -
+ {{ groupMenuRoute.icon }} person {{groupMenuRoute.title | translate}}