Revision 60171
Added by Argiro Kokogiannaki over 3 years ago
pages.module.ts | ||
---|---|---|
1 | 1 |
import {NgModule} from '@angular/core'; |
2 | 2 |
import {CommonModule} from '@angular/common'; |
3 | 3 |
import {PagesRoutingModule} from './pages-routing.module'; |
4 |
import {IsCommunityOrAdmin} from "../openaireLibrary/connect/communityGuard/isCommunityOrAdmin"; |
|
5 |
import {PagesModule} from "../openaireLibrary/dashboard/page/pages.module"; |
|
6 |
import {AdminDashboardGuard} from "../utils/adminDashboard.guard";
|
|
4 |
import {IsCommunityOrAdmin} from "../../openaireLibrary/connect/communityGuard/isCommunityOrAdmin";
|
|
5 |
import {PagesModule} from "../../openaireLibrary/dashboard/page/pages.module";
|
|
6 |
import {LoginGuard} from "../../openaireLibrary/login/loginGuard.guard";
|
|
7 | 7 |
|
8 | 8 |
@NgModule({ |
9 | 9 |
imports: [ |
10 | 10 |
CommonModule, PagesRoutingModule, PagesModule |
11 | 11 |
], |
12 |
providers: [IsCommunityOrAdmin, AdminDashboardGuard],
|
|
12 |
providers: [LoginGuard,IsCommunityOrAdmin],
|
|
13 | 13 |
|
14 | 14 |
}) |
15 | 15 |
export class MonitorPagesModule { } |
Also available in: Unified diff
[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