[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
This commit is contained in:
argiro.kokogiannaki 2019-07-01 14:24:39 +00:00
parent 9cc6eab2c4
commit 46c7bafd5f
2 changed files with 19 additions and 1 deletions

View File

@ -165,6 +165,24 @@ export class AppComponent implements OnInit{
} }
); );
this.sideMenuItems.push(adminTools); 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 !== '') { } else if (this.communityId && this.communityId !== '') {
this.sideMenuItems.push({ this.sideMenuItems.push({
rootItem: new MenuItem('overview', 'Overview', '/dashboard', rootItem: new MenuItem('overview', 'Overview', '/dashboard',

View File

@ -53,7 +53,7 @@
"cacheUrl" :"http://scoobydoo.di.uoa.gr:3000/get?url=", "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", "adminToolsCommunity" :"openaire",
"communityAPI": "https://dev-openaire.d4science.org/openaire/community/", "communityAPI": "https://dev-openaire.d4science.org/openaire/community/",