From 15cc2d16ca8d495c82ff1e77567d7eb7cd9b3729 Mon Sep 17 00:00:00 2001 From: Diamantis Tziotzios Date: Fri, 22 Mar 2024 13:06:10 +0200 Subject: [PATCH] small ui fixes --- .../field-set-title/field-set-title.component.html | 4 ++-- .../form-field-set/form-field-set.component.html | 6 +++--- .../overview/description-overview.component.html | 2 +- .../dmp-editor-blueprint/dmp-editor.component.html | 2 +- dmp-frontend/src/assets/i18n/en.json | 12 +++++++++--- 5 files changed, 16 insertions(+), 10 deletions(-) diff --git a/dmp-frontend/src/app/ui/description/editor/description-form/components/form-field-set/field-set-title/field-set-title.component.html b/dmp-frontend/src/app/ui/description/editor/description-form/components/form-field-set/field-set-title/field-set-title.component.html index bd01cfe40..912cd2d99 100644 --- a/dmp-frontend/src/app/ui/description/editor/description-form/components/form-field-set/field-set-title/field-set-title.component.html +++ b/dmp-frontend/src/app/ui/description/editor/description-form/components/form-field-set/field-set-title/field-set-title.component.html @@ -13,12 +13,12 @@
- {{'DATASET-EDITOR.QUESTION.EXTENDED-DESCRIPTION.VIEW-MORE' | translate}} + {{'DESCRIPTION-EDITOR.ACTIONS.VIEW-MORE' | translate}}
- {{'DATASET-EDITOR.QUESTION.EXTENDED-DESCRIPTION.VIEW-LESS' | translate}} + {{'DESCRIPTION-EDITOR.ACTIONS.VIEW-LESS' | translate}}
\ No newline at end of file diff --git a/dmp-frontend/src/app/ui/description/editor/description-form/components/form-field-set/form-field-set.component.html b/dmp-frontend/src/app/ui/description/editor/description-form/components/form-field-set/form-field-set.component.html index a81d198b5..e8f96ed06 100644 --- a/dmp-frontend/src/app/ui/description/editor/description-form/components/form-field-set/form-field-set.component.html +++ b/dmp-frontend/src/app/ui/description/editor/description-form/components/form-field-set/form-field-set.component.html @@ -37,7 +37,7 @@ add_circle {{fieldSet.multiplicity.placeholder}} - {{('DATASET-PROFILE-EDITOR.STEPS.FORM.COMPOSITE-FIELD.FIELDS.MULTIPLICITY-ADD-ONE-FIELD' + (fieldSet.multiplicity.tableView?'-TABLEVIEW':'')) | translate}} + {{('DESCRIPTION-EDITOR.ACTIONS.MULTIPLICITY-ADD-ONE-FIELD' + (fieldSet.multiplicity.tableView?'-TABLEVIEW':'')) | translate}} @@ -65,7 +65,7 @@ add_circle {{fieldSet.multiplicity.placeholder}} - {{('DATASET-PROFILE-EDITOR.STEPS.FORM.COMPOSITE-FIELD.FIELDS.MULTIPLICITY-ADD-ONE-FIELD' + (fieldSet.multiplicity.tableView?'-TABLEVIEW':'')) | translate}} + {{('DESCRIPTION-EDITOR.ACTIONS.MULTIPLICITY-ADD-ONE-FIELD' + (fieldSet.multiplicity.tableView?'-TABLEVIEW':'')) | translate}} @@ -75,6 +75,6 @@
- +
\ No newline at end of file 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 7be667a40..a0cd183bc 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 @@ -12,7 +12,7 @@

{{ description.label }}

-
+

{{ enumUtils.toDmpUserRolesString(dmpService.getCurrentUserRolesInDmp(description?.dmp?.dmpUsers)) }}

diff --git a/dmp-frontend/src/app/ui/dmp/dmp-editor-blueprint/dmp-editor.component.html b/dmp-frontend/src/app/ui/dmp/dmp-editor-blueprint/dmp-editor.component.html index 05862add9..fb0859a81 100644 --- a/dmp-frontend/src/app/ui/dmp/dmp-editor-blueprint/dmp-editor.component.html +++ b/dmp-frontend/src/app/ui/dmp/dmp-editor-blueprint/dmp-editor.component.html @@ -90,7 +90,7 @@
  • {{'DMP-EDITOR.DESCRIPTION' | translate}}: {{ description.label }}
    - close + close check
  • diff --git a/dmp-frontend/src/assets/i18n/en.json b/dmp-frontend/src/assets/i18n/en.json index 168636ec9..05c32f3af 100644 --- a/dmp-frontend/src/assets/i18n/en.json +++ b/dmp-frontend/src/assets/i18n/en.json @@ -383,7 +383,6 @@ "MULTIPLICITY-ADD-ONE-FIELD": "Add more", "MULTIPLICITY-ADD-ONE-FIELD-TABLEVIEW": "Add row", "ORDER": "Order", - "COMMENT-PLACEHOLDER": "Please Specify", "COMMENT-HINT": "Provide additional information or justification about your selection", "SEMANTICS": "Semantics", "EXPORT": "Include in Export" @@ -859,6 +858,9 @@ "DESCRIPTION-TEMPLATE-VERSION": "Version" } }, + "FIELDS": { + "COMMENT-PLACEHOLDER": "Please Specify" + }, "ACTIONS": { "BACK-TO": "Back to", "EXPORT": "Export", @@ -871,9 +873,13 @@ "REVERSE": "Undo Finalization", "UNDO-FINALIZATION-QUESTION": "Undo finalization?", "CONFIRM": "Yes", - "REJECT": "No" + "REJECT": "No", + "MULTIPLICITY-ADD-ONE-FIELD": "Add more", + "MULTIPLICITY-ADD-ONE-FIELD-TABLEVIEW": "Add row", + "VIEW-MORE": "View more", + "VIEW-LESS": "View less" }, - "MESSAGES":{ + "MESSAGES": { "MISSING-FIELDS": "There are some required fields left unfilled. Please check the Plan and make sure that all required questions are answered and URLs are provided with valid input. (Missing fields are marked in red color)" }, "LOCKED-DIALOG": {