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:

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

  
6 5

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

Also available in: Unified diff