diff --git a/dmp-frontend/src/app/ui/dmp/editor/license-info/license-info.component.html b/dmp-frontend/src/app/ui/dmp/editor/license-info/license-info.component.html index f09ecebc6..3e4c57cba 100644 --- a/dmp-frontend/src/app/ui/dmp/editor/license-info/license-info.component.html +++ b/dmp-frontend/src/app/ui/dmp/editor/license-info/license-info.component.html @@ -20,6 +20,44 @@ + +
+
+
3.2 {{'DMP-EDITOR.FIELDS.VISIBILITY' | translate}}
+
{{'DMP-EDITOR.FIELDS.VISIBILITY-HINT' | translate}}
+
+ + + + {{vis.name | translate}} + + + + {{formGroup.get('extraProperties').get('visible').getError('backendError').message}} + + {{'GENERAL.VALIDATION.REQUIRED' | translate}} + +
+
+
+ +
+
+
3.3 {{'DMP-EDITOR.FIELDS.PUBLICATION' | translate}}*
+ +
+ + + + + + {{formGroup.get('extraProperties').get('publicDate').getError('backendError').message}} + + {{'GENERAL.VALIDATION.REQUIRED' | translate}} + +
+
+
-
-
-
1.3 {{'DMP-EDITOR.FIELDS.LANGUAGE' | translate}}*
-
{{'DMP-EDITOR.FIELDS.LANGUAGE-HINT' | translate}}
-
- - - - {{ lang.name }} - - - - {{formGroup.get('extraProperties').get('language').getError('backendError').message}} - - {{'GENERAL.VALIDATION.REQUIRED' | translate}} - -
-
-
- -
-
-
1.4 {{'DMP-EDITOR.FIELDS.VISIBILITY' | translate}}
-
{{'DMP-EDITOR.FIELDS.VISIBILITY-HINT' | translate}}
-
- - - - {{vis.name | translate}} - - - - {{formGroup.get('extraProperties').get('visible').getError('backendError').message}} - - {{'GENERAL.VALIDATION.REQUIRED' | translate}} - -
-
-
-
1.5 {{'DMP-EDITOR.FIELDS.RESEARCHERS' | translate}}
+
1.3 {{'DMP-EDITOR.FIELDS.RESEARCHERS' | translate}}
{{'DMP-EDITOR.FIELDS.RESEARCHERS-HINT' | translate}}
info {{'DMP-EDITOR.MAIN-INFO.TYPING' | translate}}
@@ -102,7 +62,7 @@
-
1.6 {{'DMP-EDITOR.FIELDS.ORGANISATIONS' | translate}}
+
1.4 {{'DMP-EDITOR.FIELDS.ORGANISATIONS' | translate}}
{{'DMP-EDITOR.FIELDS.ORGANISATIONS-HINT' | translate}}
info {{'DMP-EDITOR.MAIN-INFO.TYPING' | translate}}
@@ -126,10 +86,30 @@
+ +
+
+
1.5 {{'DMP-EDITOR.FIELDS.LANGUAGE' | translate}}*
+
{{'DMP-EDITOR.FIELDS.LANGUAGE-HINT' | translate}}
+
+ + + + {{ lang.name }} + + + + {{formGroup.get('extraProperties').get('language').getError('backendError').message}} + + {{'GENERAL.VALIDATION.REQUIRED' | translate}} + +
+
+
-
1.7 {{'DMP-EDITOR.FIELDS.CONTACT' | translate}}*
+
1.6 {{'DMP-EDITOR.FIELDS.CONTACT' | translate}}*
@@ -146,23 +126,5 @@
- -
-
-
1.8 {{'DMP-EDITOR.FIELDS.PUBLICATION' | translate}}*
- -
- - - - - - {{formGroup.get('extraProperties').get('publicDate').getError('backendError').message}} - - {{'GENERAL.VALIDATION.REQUIRED' | translate}} - -
-
-
diff --git a/dmp-frontend/src/app/ui/dmp/editor/main-info/main-info.component.ts b/dmp-frontend/src/app/ui/dmp/editor/main-info/main-info.component.ts index 56fedce6f..1beaec367 100644 --- a/dmp-frontend/src/app/ui/dmp/editor/main-info/main-info.component.ts +++ b/dmp-frontend/src/app/ui/dmp/editor/main-info/main-info.component.ts @@ -25,11 +25,6 @@ import { AuthService } from '@app/core/services/auth/auth.service'; import { Principal } from '@app/core/model/auth/principal'; import { OrganisationService } from '@app/core/services/organisation/organisation.service'; -interface Visible { - value: boolean; - name: string; -} - @Component({ selector: 'main-info', templateUrl: './main-info.component.html', @@ -45,10 +40,6 @@ export class MainInfoComponent extends BaseComponent implements OnInit { @Output() onFormChanged: EventEmitter = new EventEmitter(); public formControl = new FormControl(); - visibles: Visible[] = [ - { value: true, name: 'DMP-EDITOR.VISIBILITY.PUBLIC' }, - { value: false, name: 'DMP-EDITOR.VISIBILITY.RESTRICTED' } - ] private associates: UserModel[] = []; diff --git a/dmp-frontend/src/assets/i18n/en.json b/dmp-frontend/src/assets/i18n/en.json index 75a060cd2..9030a30c2 100644 --- a/dmp-frontend/src/assets/i18n/en.json +++ b/dmp-frontend/src/assets/i18n/en.json @@ -1033,8 +1033,8 @@ "LANGUAGE": "Language", "LANGUAGE-HINT": "Select the language of your DMP", "LICENSE": "License", - "VISIBILITY": "Visibility", - "VISIBILITY-HINT": "Choose how the DMP is displayed in Argos. By choosing Public, the DMP is automatically made available to all users from the “Public DMPs” collection.", + "VISIBILITY": "Access Rights", + "VISIBILITY-HINT": "Choose how the DMP is displayed after is published on Zenodo. By choosing Open Access, the DMP will be open on Zenodo after the Publication Date. By choosing Restricted Access, the DMP will be restricted after the publication is made.", "PUBLICATION": "Publication Date", "CONTACT": "Contact", "COST": "Costs", @@ -1072,16 +1072,16 @@ "OK": "OK" }, "VISIBILITY": { - "PUBLIC": "Public", - "RESTRICTED": "Restricted" + "PUBLIC": "Open Access", + "RESTRICTED": "Restricted Access" }, "STEPPER": { "USER-GUIDE": "Guide steps", "MAIN-INFO": "Main info", - "FUNDING-INFO": "Funding info", + "FUNDING-INFO": "Funding", "DATASET-SELECTION": "Dataset selection", "DATASET-INFO": "Dataset info", - "LICENSE-INFO": "License info", + "LICENSE-INFO": "License", "DATASET": "Dataset", "PREVIOUS": "Previous", "NEXT": "Next"