From 738fc69a79b38ba0eea496eaf616f08eca17ee2c Mon Sep 17 00:00:00 2001
From: John Balasis <15860451+jBalasis@users.noreply.github.com>
Date: Wed, 5 Oct 2022 13:42:45 +0000
Subject: [PATCH] Minor text fixes for repository and registration finish
---
src/app/pages/sources/sources-register.component.html | 4 ++--
.../register-existing-datasource.component.html | 5 +++--
.../register-new-datasource.component.html | 7 ++++---
.../sources-forms/datasource-update-form.component.ts | 2 ++
4 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/src/app/pages/sources/sources-register.component.html b/src/app/pages/sources/sources-register.component.html
index e832cf5fd..75f4b61d3 100755
--- a/src/app/pages/sources/sources-register.component.html
+++ b/src/app/pages/sources/sources-register.component.html
@@ -30,10 +30,10 @@
Repository
Make sure your repository is already registered in one of the following global registries -
- OpenDOAR (for Literature Repositories),
+ OpenDOAR,
Re3data or
FAIRsharing
- (for Data Repositories) - and is compatible with the
+ and is compatible with the
OpenAIRE Guidelines.
For any questions please contact the OpenAIRE helpdesk.
diff --git a/src/app/pages/sources/sources-register/register-existing-datasource.component.html b/src/app/pages/sources/sources-register/register-existing-datasource.component.html
index ab3a13129..9ee4de8a4 100644
--- a/src/app/pages/sources/sources-register/register-existing-datasource.component.html
+++ b/src/app/pages/sources/sources-register/register-existing-datasource.component.html
@@ -155,8 +155,9 @@
We successfully received the request to register/update your repository with/on OpenAIRE.
It usually takes about 6 weeks to check your metadata and index it.
- For questions, please create a helpdesk ticket
- or write to helpdesk@openaire.eu.
+ For questions, please create a ticket
+
+ writing to helpdesk@openaire.eu.
diff --git a/src/app/pages/sources/sources-register/register-new-datasource.component.html b/src/app/pages/sources/sources-register/register-new-datasource.component.html
index d6331b756..3717b9f5e 100644
--- a/src/app/pages/sources/sources-register/register-new-datasource.component.html
+++ b/src/app/pages/sources/sources-register/register-new-datasource.component.html
@@ -142,10 +142,11 @@
- We successfully received the request to register/update your repository with/on OpenAIRE.
+ We successfully received the request to register/update your data source with/on OpenAIRE
It usually takes about 6 weeks to check your metadata and index it.
- For questions, please create a helpdesk ticket
- or write to helpdesk@openaire.eu.
+ For questions, please create a ticket
+
+ writing to helpdesk@openaire.eu.
diff --git a/src/app/shared/reusablecomponents/sources-forms/datasource-update-form.component.ts b/src/app/shared/reusablecomponents/sources-forms/datasource-update-form.component.ts
index 0897132e4..36ef165be 100755
--- a/src/app/shared/reusablecomponents/sources-forms/datasource-update-form.component.ts
+++ b/src/app/shared/reusablecomponents/sources-forms/datasource-update-form.component.ts
@@ -86,6 +86,7 @@ export class DatasourceUpdateFormComponent implements OnInit {
ngOnInit() {
this.loadForm();
+ console.log('mode: ', this.mode);
}
loadForm() {
@@ -153,6 +154,7 @@ export class DatasourceUpdateFormComponent implements OnInit {
// FIXME: Use eoscDatasourceType when we support the new model
if (this.mode === 'journal') {
+ console.log(this.mode);
let ssnToShow = this.selectedRepo.issn.slice(0, 4) + '-' + this.selectedRepo.issn.toString().slice(4);
this.updateGroup.get('issn').setValue(ssnToShow);