Adds text describing what the wizard is intended for - (Issue #115)

This commit is contained in:
apapachristou 2019-07-01 13:06:26 +03:00
parent 14a1afc414
commit dec8175e87
3 changed files with 16 additions and 7 deletions

View File

@ -1,11 +1,14 @@
<div class="main-content">
<div class="container-fluid">
<div class="dataset-create-wizard">
<h3 *ngIf="isNew">{{ 'QUICKWIZARD.CREATE-ADD.ADD.DATASET-WIZARD' | translate }}</h3>
<p *ngIf="isNew">{{ 'QUICKWIZARD.CREATE-ADD.ADD.POST-SELECTION-INFO' | translate }}</p>
<mat-horizontal-stepper linear #stepper>
<mat-step class="step-container" [stepControl]="formGroup.get('dmpMeta')">
<ng-template matStepLabel>{{'DATASET-CREATE-WIZARD.FIRST-STEP.TITLE'| translate}}</ng-template>
<form [formGroup]="formGroup.get('dmpMeta')">
<dataset-dmp-selector-component class="col-12" [formGroup]="formGroup.get('dmpMeta')" [datasetFormGroup]="formGroup.get('datasets')" [stepper]="stepper">
<dataset-dmp-selector-component class="col-12" [formGroup]="formGroup.get('dmpMeta')"
[datasetFormGroup]="formGroup.get('datasets')" [stepper]="stepper">
</dataset-dmp-selector-component>
</form>
<div class="col-12">
@ -31,9 +34,11 @@
<div class="navigation-buttons-container">
<button matStepperPrevious mat-raised-button
color="primary">{{'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.ACTIONS.BACK' | translate}}</button>
<button class="saveAndFinalizeButton" matStepperNext mat-raised-button (click)='saveFinalize()' [disabled]="!isFormValid() || !hasDatasets()"
<button class="saveAndFinalizeButton" matStepperNext mat-raised-button (click)='saveFinalize()'
[disabled]="!isFormValid() || !hasDatasets()"
color="primary">{{'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.ACTIONS.SAVE-AND-FINALIZE' | translate}}</button>
<button class="saveButton" matStepperNext mat-raised-button (click)='save()' [disabled]="!hasDatasets()"
<button class="saveButton" matStepperNext mat-raised-button (click)='save()'
[disabled]="!hasDatasets()"
color="primary">{{'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.ACTIONS.SAVE' | translate}}</button>
</div>
</mat-step>

View File

@ -3,6 +3,7 @@
<div class="quick-wizard-editor">
<form [formGroup]="formGroup">
<h3 *ngIf="isNew">{{ 'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.TITLE' | translate }}</h3>
<p *ngIf="isNew">{{ 'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.POST-SELECTION-INFO' | translate }}</p>
<div class="row">
<mat-horizontal-stepper linear class="col-12" #stepper>
<mat-step [stepControl]="formGroup.get('project')">

View File

@ -871,10 +871,11 @@
"QUICKWIZARD": {
"CREATE-ADD": {
"CREATE": {
"TITLE": "New DMP",
"SUBTITLE": "Use the wizard to create a DMP, describe your datasets according to requirements",
"TITLE": "Create new DMP",
"SUBTITLE": "Create a new DMP and describe your dataset(s) guided step by step by our wizard through the most essential elements of a DMP definition.",
"QUICKWIZARD_CREATE": {
"TITLE": "DMP Wizard",
"POST-SELECTION-INFO": "This wizard allows you to create a new DMP supplying just the most essential information required for it and then describe one or more datasets that are managed under this DMP. After finishing through the wizard you will be able to further edit the DMP, accessing its advanced properties, via the full DMP editor, and even add more Dataset descriptions or editing the previous ones.",
"ACTIONS": {
"DELETE": "Delete",
"SAVE": "Save",
@ -923,8 +924,10 @@
}
},
"ADD": {
"TITLE": "Add Dataset",
"SUBTITLE": "A DMP can have more than one datasets. Describe new datasets here"
"TITLE": "Add a dataset description into an existing DMP",
"DATASET-WIZARD": "Dataset Wizard",
"POST-SELECTION-INFO": "This wizard simplifies the process of adding new dataset descriptions into existing DMPs, guiding you through and requesting only the most essential pieces of information for completing the task. Full access to the attributes of a dataset description can be obtained afterwards via the Dataset Description access menus of the System.",
"SUBTITLE": "This wizard allows you to describe additional datasets managed in the context of a DMP providing only the essential information for their description."
}
},
"SAVE-DIALOG": {