[Monitor Dahsboard | Trunk]: Add Manage on develop page
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@60127 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
610760465b
commit
c61122e113
|
@ -259,11 +259,19 @@ export class AppComponent implements OnInit, OnDestroy {
|
|||
rootItem: new MenuItem("dashboard", "Dashboard",
|
||||
"", "/" + this.stakeholder.alias, false, [], null, {}), items: []
|
||||
});
|
||||
if(this.stakeholder.type === "funder") {
|
||||
this.menuItems.push({
|
||||
rootItem: new MenuItem("develop", "Develop",
|
||||
"", "/" + this.stakeholder.alias + "/develop", false, [], null, {}), items: []
|
||||
});
|
||||
}
|
||||
if (this.isCurator()) {
|
||||
this.menuItems.push({
|
||||
rootItem: new MenuItem("manage", "Manage",
|
||||
"", "/admin", false, [], null, {}), items: []
|
||||
});
|
||||
}
|
||||
}
|
||||
else if (this.isFrontPage) {
|
||||
this.menuHeader = {
|
||||
route: "/" + this.stakeholder.alias,
|
||||
|
@ -286,7 +294,6 @@ export class AppComponent implements OnInit, OnDestroy {
|
|||
rootItem: new MenuItem("manage", "Manage",
|
||||
"", "/admin", false, [], null, {}), items: []
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
if (this.isPublicOrIsMember(this.stakeholder.visibility)) {
|
||||
|
|
Loading…
Reference in New Issue