[Trunk | Explore]:
1. app.component.ts: [Bug fix] Update url for "Manage helptexts" button (use adminPortalURL property). 2. environment.beta.ts & environment.prod.ts & environment.test.ts & environment.ts: Add property "adminPortalURL". git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@60940 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
3135d44180
commit
3e03b3a617
|
@ -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"], {}));
|
||||
|
||||
|
|
|
@ -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"
|
||||
};
|
||||
|
|
|
@ -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"
|
||||
};
|
||||
|
|
|
@ -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"
|
||||
};
|
||||
|
|
|
@ -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"
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue