diff --git a/src/app/pages/curator/curator.component.html b/src/app/pages/curator/curator.component.html index ce34d1b..549ca07 100644 --- a/src/app/pages/curator/curator.component.html +++ b/src/app/pages/curator/curator.component.html @@ -1,4 +1,5 @@ + @@ -9,9 +10,15 @@
-
- - Manage your personal info.
Your personal info will be visible in the Curators' page of your Community Gateway. +
+ +
+ Your personal info will be visible in the Curators' page of your Community Gateway. + Read privacy policy statement.
+ + Curators' page is disabled. Please enable it here. + +
@@ -79,11 +86,6 @@ @@ -96,7 +98,7 @@ -
+
@@ -105,3 +107,13 @@ Your photo will be removed after you save your data. Are you sure you want to proceed? + +
+ Your personal data and photo are processed by OpenAIRE in conformity with personal data protection legal framework. + They will be stored safely in our system for as long as OpenAIRE exists. Since you press the "save" button, + you give us the consent to make them public in your Community Gateway to let users know who is + configuring the platform. You always have the right to exercise your rights and ask for access, + rectification, erasure and restriction of your data. Please contact rcd-helpdesk@openaire.eu if + you have any inquiries. +
+
diff --git a/src/app/pages/curator/curator.component.ts b/src/app/pages/curator/curator.component.ts index cb0b957..dc76488 100644 --- a/src/app/pages/curator/curator.component.ts +++ b/src/app/pages/curator/curator.component.ts @@ -10,6 +10,7 @@ import {Curator} from '../../openaireLibrary/utils/entities/CuratorInfo'; import {HelperFunctions} from '../../openaireLibrary/utils/HelperFunctions.class'; import {UtilitiesService} from '../../openaireLibrary/services/utilities.service'; import {HelpContentService} from '../../services/help-content.service'; +import {AlertModal} from '../../openaireLibrary/utils/modal/alert'; @Component({ selector: 'curator', @@ -39,6 +40,8 @@ export class CuratorComponent implements OnInit { public enabled = true; private deletePhoto = false; + @ViewChild('privacyStatement') privacyStatement: AlertModal; + constructor(private element: ElementRef, private route: ActivatedRoute, private _router: Router, @@ -278,4 +281,11 @@ export class CuratorComponent implements OnInit { this.hasChanged = true; this.photo = 'assets/common-assets/curator-default.png'; } + + privacy() { + this.privacyStatement.cancelButton = false; + this.privacyStatement.okButtonText = 'Close'; + this.privacyStatement.alertTitle = 'Privacy policy statement' + this.privacyStatement.open(); + } } diff --git a/src/assets/env-properties.json b/src/assets/env-properties.json index c725995..66180d8 100644 --- a/src/assets/env-properties.json +++ b/src/assets/env-properties.json @@ -43,7 +43,7 @@ "feedbackmailForMissingEntities" :"feedback@openaire.eu", "cacheUrl" :"http://scoobydoo.di.uoa.gr:3000/get?url=", - "adminToolsAPIURL" :"http://scoobydoo.di.uoa.gr:8080/uoa-admin-tools/", + "adminToolsAPIURL" :"http://mpagasas.di.uoa.gr:8080/uoa-admin-tools/", "adminToolsCommunity" :"openaire", "communityAPI": "https://dev-openaire.d4science.org/openaire/community/",
-