Project

General

Profile

« Previous | Next » 

Revision 60171

[Monitor dashboard | Trunk]
Admin tools:
- move amdin tool components underadmin-tool folder
- create admin tool routing module
- remove guard from each module and put it in admin tool routing module

Piwik:
- add piwik from configuration service and pass it in search, landing, monitor

App component:
- when stakeholder changes: update or reset properties adminToolsCommunity, adminToolsPortalType and init community information

View differences:

page-help-contents-routing.module.ts
1 1
import { NgModule } from '@angular/core';
2 2
import {RouterModule} from '@angular/router';
3
import {PageHelpContentsComponent} from "../openaireLibrary/dashboard/helpTexts/page-help-contents.component";
4
import {AdminDashboardGuard} from "../utils/adminDashboard.guard";
3
import {PageHelpContentsComponent} from "../../openaireLibrary/dashboard/helpTexts/page-help-contents.component";
5 4

  
6 5
@NgModule({
7 6
    imports: [
8 7
        RouterModule.forChild([
9
            { path: '', canActivate: [AdminDashboardGuard], component: PageHelpContentsComponent}
8
            { path: '',  component: PageHelpContentsComponent}
10 9
        ])
11 10
    ]
12 11
})

Also available in: Unified diff