From c06e0acee4dd10b683eb1a9b69c96917a6cc5ec7 Mon Sep 17 00:00:00 2001 From: apapachristou Date: Wed, 26 Jun 2019 13:51:16 +0300 Subject: [PATCH] Adds text (Issue #123) - (Issue #124) --- .../dmp-editor-wizard.component.html | 36 +++++++++++++------ .../dmp-editor-wizard.component.scss | 4 +++ .../project-editor-wizard.component.html | 8 +++-- dmp-frontend/src/assets/i18n/en.json | 6 +++- 4 files changed, 40 insertions(+), 14 deletions(-) diff --git a/dmp-frontend/src/app/ui/quick-wizard/dmp-editor/dmp-editor-wizard.component.html b/dmp-frontend/src/app/ui/quick-wizard/dmp-editor/dmp-editor-wizard.component.html index 54ade44f3..b08134299 100644 --- a/dmp-frontend/src/app/ui/quick-wizard/dmp-editor/dmp-editor-wizard.component.html +++ b/dmp-frontend/src/app/ui/quick-wizard/dmp-editor/dmp-editor-wizard.component.html @@ -1,6 +1,7 @@
- {{'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.SECOND-STEP.NEW-TITLE' | translate}} + + {{'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.SECOND-STEP.NEW-TITLE' | translate}}

{{formGroup?.get('label')?.value}}

@@ -9,29 +10,41 @@
- - +

+ {{'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.SECOND-STEP.ABOUT' | translate}}

+ + {{formGroup.get('label').getError('backendError').message}} {{'GENERAL.VALIDATION.REQUIRED' | translate}} - - {{'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.SECOND-STEP.FIELDS.DESCRIPTION-HINT' | translate}} + + + {{'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.SECOND-STEP.FIELDS.DESCRIPTION-HINT' | translate}} + - + - {{'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.SECOND-STEP.FIELDS.PROFILE-HINT' | translate}} + + {{'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.SECOND-STEP.FIELDS.PROFILE-HINT' | translate}} + {{formGroup.get('datasetProfile').getError('backendError').message}} {{'GENERAL.VALIDATION.REQUIRED' | translate}} +
+ {{'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.SECOND-STEP.FIELDS.HELP' | translate}} +
+
diff --git a/dmp-frontend/src/app/ui/quick-wizard/dmp-editor/dmp-editor-wizard.component.scss b/dmp-frontend/src/app/ui/quick-wizard/dmp-editor/dmp-editor-wizard.component.scss index e69de29bb..441021760 100644 --- a/dmp-frontend/src/app/ui/quick-wizard/dmp-editor/dmp-editor-wizard.component.scss +++ b/dmp-frontend/src/app/ui/quick-wizard/dmp-editor/dmp-editor-wizard.component.scss @@ -0,0 +1,4 @@ +.help { + font-size: 12px; + margin-top: 3em; +} diff --git a/dmp-frontend/src/app/ui/quick-wizard/project-editor/project-editor-wizard.component.html b/dmp-frontend/src/app/ui/quick-wizard/project-editor/project-editor-wizard.component.html index 5a1c62ce0..1c6c26d84 100644 --- a/dmp-frontend/src/app/ui/quick-wizard/project-editor/project-editor-wizard.component.html +++ b/dmp-frontend/src/app/ui/quick-wizard/project-editor/project-editor-wizard.component.html @@ -7,7 +7,8 @@
- +

{{'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.FIRST-STEP.ABOUT' | translate}}

+ @@ -20,6 +21,7 @@
+

{{'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.FIRST-STEP.ABOUT-NEW' | translate}}

-
+

{{'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.FIRST-STEP.OR' | translate}}

-
+

diff --git a/dmp-frontend/src/assets/i18n/en.json b/dmp-frontend/src/assets/i18n/en.json index 3ca89b778..7e80922ef 100644 --- a/dmp-frontend/src/assets/i18n/en.json +++ b/dmp-frontend/src/assets/i18n/en.json @@ -880,6 +880,8 @@ }, "FIRST-STEP": { "TITLE": "Project", + "ABOUT": "Find the project that your DMP is associated with and link it to funders' information. If the project is not listed or you are creating a DMP for a grant proposal or for other purposes, use \"Add Project\"", + "ABOUT-NEW": "If you are creating a DMP for a grant proposal, institutional or research community use or training and educational purposes, add information below by creating a new project.", "OR": "or", "FIELDS": { "SELECT-PROJECT": "Select the project that the DMP is associated with", @@ -891,6 +893,7 @@ }, "SECOND-STEP": { "TITLE": "DMP Profile", + "ABOUT": "A Data Management Plan consists of a set of questions that you should answer with a level of detail appropriate to the project or with relevance to the purpose that you are creating the DMP. Contents of each DMP vary depending on the selected Dataset Description Template(s) which contain(s) a set of tailored questions in response to policy requirements of funders, institutions, research communities.", "NEW-TITLE": "", "DMP-NAME": "DMP For Project : ", "FIELDS": { @@ -898,7 +901,8 @@ "DESCRIPTION": "Summary", "DESCRIPTION-HINT": "Briefly describe the context and purpose of the DMP", "PROFILE": "Dataset Description Template", - "PROFILE-HINT": "Select a template to describe your dataset(s)" + "PROFILE-HINT": "Select a template to describe your dataset(s). If you want to select multiple dataset templates use \"New DMP (Expert)\". You can also add new dataset descriptions at any time after the DMP creation.", + "HELP": "If you can't find a template or if you want to create a personalized template for your institution, research community or training needs, please contact us." } }, "THIRD-STEP": {