Revision 60940
Added by Konstantina Galouni about 3 years ago
modules/uoa-services-portal/trunk/explore/src/app/app.component.ts | ||
---|---|---|
144 | 144 |
]; |
145 | 145 |
if (Session.isPortalAdministrator(this.user)) { |
146 | 146 |
this.userMenuItems.push(new MenuItem("", "Manage all links", "", "/claims", false, [], ["/claims"], {})); |
147 |
this.userMenuItems.push(new MenuItem("", "Manage helptexts", |
|
148 |
((this.properties.environment == "beta") ? "https://beta.admin.connect.openaire.eu/openaire/admin-tools/pages" : "https://admin.explore.openaire.eu/dashboard?communityId=openaire"), "", true, [], [], {})) |
|
149 |
|
|
147 |
this.userMenuItems.push(new MenuItem("", "Manage helptexts", this.properties.adminPortalURL + "/openaire/admin-tools/pages", "", true, [], [], {})); |
|
150 | 148 |
} else if (Session.isClaimsCurator(this.user)) { |
151 | 149 |
this.userMenuItems.push(new MenuItem("", "Manage all links", "", "/claims", false, [], ["/claims"], {})); |
152 | 150 |
|
modules/uoa-services-portal/trunk/explore/src/environments/environment.beta.ts | ||
---|---|---|
120 | 120 |
altMetricsAPIURL: "https://api.altmetric.com/v1/doi/", |
121 | 121 |
reCaptchaSiteKey: "6LezhVIUAAAAAOb4nHDd87sckLhMXFDcHuKyS76P", |
122 | 122 |
b2noteAPIURL: 'https://b2note.eudat.eu/', |
123 |
adminPortalURL: "https://beta.admin.connect.openaire.eu", |
|
123 | 124 |
|
124 | 125 |
myOrcidLinksPage: "/my-orcid-links" |
125 | 126 |
}; |
modules/uoa-services-portal/trunk/explore/src/environments/environment.test.ts | ||
---|---|---|
120 | 120 |
altMetricsAPIURL: "https://api.altmetric.com/v1/doi/", |
121 | 121 |
reCaptchaSiteKey: "6LezhVIUAAAAAOb4nHDd87sckLhMXFDcHuKyS76P", |
122 | 122 |
b2noteAPIURL: 'https://b2note.eudat.eu/', |
123 |
adminPortalURL: "https://beta.admin.connect.openaire.eu", |
|
123 | 124 |
|
124 | 125 |
myOrcidLinksPage: "/my-orcid-links" |
125 | 126 |
}; |
modules/uoa-services-portal/trunk/explore/src/environments/environment.ts | ||
---|---|---|
124 | 124 |
reCaptchaSiteKey: "6LcVtFIUAAAAAB2ac6xYivHxYXKoUvYRPi-6_rLu", |
125 | 125 |
b2noteAPIURL: 'https://b2note.eudat.eu/', |
126 | 126 |
impactFactorsAPIURL: "https://bip-api.imsi.athenarc.gr/paper/scores/batch/", |
127 |
adminPortalURL: "https://beta.admin.connect.openaire.eu", |
|
127 | 128 |
|
128 | 129 |
myOrcidLinksPage: "/my-orcid-links" |
129 | 130 |
}; |
modules/uoa-services-portal/trunk/explore/src/environments/environment.prod.ts | ||
---|---|---|
121 | 121 |
altMetricsAPIURL: "https://api.altmetric.com/v1/doi/", |
122 | 122 |
reCaptchaSiteKey: "6LezhVIUAAAAAOb4nHDd87sckLhMXFDcHuKyS76P", |
123 | 123 |
b2noteAPIURL: 'https://b2note.eudat.eu/', |
124 |
adminPortalURL: "https://admin.explore.openaire.eu", |
|
124 | 125 |
|
125 | 126 |
myOrcidLinksPage: "/my-orcid-links" |
126 | 127 |
}; |
Also available in: Unified diff
[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".