From 46c7bafd5fb709285f930b82e180808ff150dea6 Mon Sep 17 00:00:00 2001 From: "argiro.kokogiannaki" Date: Mon, 1 Jul 2019 14:24:39 +0000 Subject: [PATCH] [Trunk|Admin] Add manage explore and connect in the admin tools git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-admin-portal/trunk@56301 d315682c-612b-4755-9ff5-7f18f6832af3 --- src/app/app.component.ts | 18 ++++++++++++++++++ src/assets/env-properties.json | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 95fb44a..7c555cd 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -165,6 +165,24 @@ export class AppComponent implements OnInit{ } ); this.sideMenuItems.push(adminTools); + this.sideMenuItems.push( { + rootItem: new MenuItem('communities', 'Manage Communities', '', + '/', false, [], [], null), + items: [], + ukIcon: 'desktop' + }); + this.sideMenuItems.push( { + rootItem: new MenuItem('communities', 'Manage Explore', '', + '/dashboard', false, [], [], {communityId: 'openaire'}), + items: [], + ukIcon: 'desktop' + }); + this.sideMenuItems.push( { + rootItem: new MenuItem('communities', 'Manage Connect', '', + '/dashboard', false, [], [], {communityId: 'connect'}), + items: [], + ukIcon: 'desktop' + }); } else if (this.communityId && this.communityId !== '') { this.sideMenuItems.push({ rootItem: new MenuItem('overview', 'Overview', '/dashboard', diff --git a/src/assets/env-properties.json b/src/assets/env-properties.json index 5967b46..7dcf723 100644 --- a/src/assets/env-properties.json +++ b/src/assets/env-properties.json @@ -53,7 +53,7 @@ "cacheUrl" :"http://scoobydoo.di.uoa.gr:3000/get?url=", - "adminToolsAPIURL" :"http://duffy.di.uoa.gr:8080/uoa-admin-tools/", + "adminToolsAPIURL" :"http://scoobydoo.di.uoa.gr:8080/uoa-admin-tools/", "adminToolsCommunity" :"openaire", "communityAPI": "https://dev-openaire.d4science.org/openaire/community/",