diff --git a/explore/src/app/app.component.ts b/explore/src/app/app.component.ts index 203bd446..d971e853 100644 --- a/explore/src/app/app.component.ts +++ b/explore/src/app/app.component.ts @@ -144,9 +144,7 @@ export class AppComponent { ]; if (Session.isPortalAdministrator(this.user)) { this.userMenuItems.push(new MenuItem("", "Manage all links", "", "/claims", false, [], ["/claims"], {})); - this.userMenuItems.push(new MenuItem("", "Manage helptexts", - ((this.properties.environment == "beta") ? "https://beta.admin.connect.openaire.eu/openaire/admin-tools/pages" : "https://admin.explore.openaire.eu/dashboard?communityId=openaire"), "", true, [], [], {})) - + this.userMenuItems.push(new MenuItem("", "Manage helptexts", this.properties.adminPortalURL + "/openaire/admin-tools/pages", "", true, [], [], {})); } else if (Session.isClaimsCurator(this.user)) { this.userMenuItems.push(new MenuItem("", "Manage all links", "", "/claims", false, [], ["/claims"], {})); diff --git a/explore/src/environments/environment.beta.ts b/explore/src/environments/environment.beta.ts index 6d14bcb3..28897d13 100644 --- a/explore/src/environments/environment.beta.ts +++ b/explore/src/environments/environment.beta.ts @@ -120,6 +120,7 @@ export let properties: EnvProperties = { altMetricsAPIURL: "https://api.altmetric.com/v1/doi/", reCaptchaSiteKey: "6LezhVIUAAAAAOb4nHDd87sckLhMXFDcHuKyS76P", b2noteAPIURL: 'https://b2note.eudat.eu/', + adminPortalURL: "https://beta.admin.connect.openaire.eu", myOrcidLinksPage: "/my-orcid-links" }; diff --git a/explore/src/environments/environment.prod.ts b/explore/src/environments/environment.prod.ts index 14dfcc33..e54c6b1d 100644 --- a/explore/src/environments/environment.prod.ts +++ b/explore/src/environments/environment.prod.ts @@ -121,6 +121,7 @@ export let properties: EnvProperties = { altMetricsAPIURL: "https://api.altmetric.com/v1/doi/", reCaptchaSiteKey: "6LezhVIUAAAAAOb4nHDd87sckLhMXFDcHuKyS76P", b2noteAPIURL: 'https://b2note.eudat.eu/', + adminPortalURL: "https://admin.explore.openaire.eu", myOrcidLinksPage: "/my-orcid-links" }; diff --git a/explore/src/environments/environment.test.ts b/explore/src/environments/environment.test.ts index 74ca0813..183ceac5 100644 --- a/explore/src/environments/environment.test.ts +++ b/explore/src/environments/environment.test.ts @@ -120,6 +120,7 @@ export let properties: EnvProperties = { altMetricsAPIURL: "https://api.altmetric.com/v1/doi/", reCaptchaSiteKey: "6LezhVIUAAAAAOb4nHDd87sckLhMXFDcHuKyS76P", b2noteAPIURL: 'https://b2note.eudat.eu/', + adminPortalURL: "https://beta.admin.connect.openaire.eu", myOrcidLinksPage: "/my-orcid-links" }; diff --git a/explore/src/environments/environment.ts b/explore/src/environments/environment.ts index f164298a..352ed491 100644 --- a/explore/src/environments/environment.ts +++ b/explore/src/environments/environment.ts @@ -124,6 +124,7 @@ export let properties: EnvProperties = { reCaptchaSiteKey: "6LcVtFIUAAAAAB2ac6xYivHxYXKoUvYRPi-6_rLu", b2noteAPIURL: 'https://b2note.eudat.eu/', impactFactorsAPIURL: "https://bip-api.imsi.athenarc.gr/paper/scores/batch/", + adminPortalURL: "https://beta.admin.connect.openaire.eu", myOrcidLinksPage: "/my-orcid-links" };