[Connect | Trunk]: Change admin URL on connect
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60506 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
81050396fe
commit
a066e76bec
|
@ -224,7 +224,7 @@ export class AppComponent {
|
||||||
if (this.isManager) {
|
if (this.isManager) {
|
||||||
this.menuItems.push(
|
this.menuItems.push(
|
||||||
{
|
{
|
||||||
rootItem: new MenuItem("manage", "Manage", this.properties.adminPortalURL +'/dashboard?communityId=' + community.communityId, "", false, [], [], {}),
|
rootItem: new MenuItem("manage", "Manage", this.properties.adminPortalURL + '/' + community.communityId, "", false, [], [], {}),
|
||||||
items: []
|
items: []
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -289,7 +289,7 @@ export class AppComponent {
|
||||||
this.userMenuItems = [];
|
this.userMenuItems = [];
|
||||||
if (Session.isPortalAdministrator(this.user)) {
|
if (Session.isPortalAdministrator(this.user)) {
|
||||||
this.userMenuItems.push(new MenuItem("", "Manage Helptexts",
|
this.userMenuItems.push(new MenuItem("", "Manage Helptexts",
|
||||||
((this.properties.environment == "production") ? "https://admin.explore.openaire.eu" : "https://beta.admin.connect.openaire.eu") + "/dashboard?communityId=connect",
|
properties.adminPortalURL + "/" + communityId + '/pages',
|
||||||
"", false, [], [], {}))
|
"", false, [], [], {}))
|
||||||
}
|
}
|
||||||
if (this.user) {
|
if (this.user) {
|
||||||
|
|
Loading…
Reference in New Issue