[Monitor Dashboard|Trunk]

- remove helptexts call from monitor
- updates for sidebar



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59777 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
Argiro Kokogiannaki 2020-11-05 08:26:05 +00:00
parent 80c88075b9
commit 62fbea02fa
2 changed files with 4 additions and 3 deletions

View File

@ -124,7 +124,7 @@ export class AppComponent implements OnInit, OnDestroy {
} else { } else {
this.activeTopic = this.stakeholder.topics.find(topic => this.isPublicOrIsMember(topic.visibility)); this.activeTopic = this.stakeholder.topics.find(topic => this.isPublicOrIsMember(topic.visibility));
} }
this.setSideBar(); // this.setSideBar();
this.loading = false; this.loading = false;
} else { } else {
LinksResolver.resetProperties(); LinksResolver.resetProperties();
@ -218,14 +218,15 @@ export class AppComponent implements OnInit, OnDestroy {
this.adminMenuItems = []; this.adminMenuItems = [];
this.userMenuItems = []; this.userMenuItems = [];
if (this.user) { if (this.user) {
this.userMenuItems.push(new MenuItem("", "User information", "", "/user-info", false, [], [], {}));
if (this.isCurator()) { if (this.isCurator()) {
this.userMenuItems.push(new MenuItem("", "Manage profiles", this.userMenuItems.push(new MenuItem("", "Manage profiles",
"", "/admin", false, [], [], {})); "", "/admin", false, [], [], {}));
} }
this.userMenuItems.push(new MenuItem("", "User information", "", "/user-info", false, [], [], {}));
} }
if (this.stakeholder) { if (this.stakeholder) {
if (this.isFrontPage) { if (this.isFrontPage) {
this.setSideBar();
this.menuHeader = { this.menuHeader = {
route: "/" + this.stakeholder.alias, route: "/" + this.stakeholder.alias,
url: null, url: null,

View File

@ -142,7 +142,7 @@ export class MonitorComponent implements OnInit, OnDestroy {
} }
if(this.isPublicOrIsMember(stakeholder.visibility)) { if(this.isPublicOrIsMember(stakeholder.visibility)) {
//this.getDivContents(); //this.getDivContents();
this.getPageContents(); // this.getPageContents();
this.status = this.errorCodes.DONE; this.status = this.errorCodes.DONE;
this.setView(params); this.setView(params);
} else { } else {