Project

General

Profile

« Previous | Next » 

Revision 57961

[Monitor Dashboard|Trunk]

App routing: remove admin menu when not needed
add '*pages*' route

App component:
set navbar in the middle
add stakeholder name or title in blue bar when sidebar is closed

Require login for admin parts
Require admin role for managing pages, entities, helptexts, etc

Monitor Component:
change acive topic css

View differences:

monitor.component.ts
117 117
            }
118 118
            if (stakeholder) {
119 119
              this.stakeholder = stakeholder;
120
              console.info(this.stakeholder);
121

  
120 122
              this.seoService.createLinkForCanonicalURL(url, false);
121 123
              this._meta.updateTag({content: url}, "property='og:url'");
122 124
              var description = "Monitor Dashboard | " + this.stakeholder.index_name;
......
377 379
      this.userMenuItems.push(new MenuItem("", "User information", "", "/user-info", false, [], [], {}));
378 380
    }
379 381
  }
382

  
383
  isAdmin(){
384
    return this.user && Session.isPortalAdministrator(this.user);
385
  }
380 386
}

Also available in: Unified diff