Revision 59725
Added by Argiro Kokogiannaki over 3 years ago
new-page-help-content-routing.module.ts | ||
---|---|---|
1 | 1 |
import { NgModule } from '@angular/core'; |
2 | 2 |
import {RouterModule} from '@angular/router'; |
3 |
import {IsCommunity} from "../openaireLibrary/connect/communityGuard/isCommunity.guard"; |
|
4 |
import {ConnectAdminLoginGuard} from "../openaireLibrary/connect/communityGuard/connectAdminLoginGuard.guard"; |
|
5 | 3 |
import {NewPageHelpContentComponent} from "../openaireLibrary/dashboard/helpTexts/new-page-help-content.component"; |
4 |
import {AdminDashboardGuard} from "../utils/adminDashboard.guard"; |
|
6 | 5 |
|
7 | 6 |
|
8 | 7 |
@NgModule({ |
9 | 8 |
imports: [ |
10 | 9 |
RouterModule.forChild([ |
11 |
{ path: '', canActivate: [IsCommunity, ConnectAdminLoginGuard], component: NewPageHelpContentComponent}
|
|
10 |
{ path: '', canActivate: [AdminDashboardGuard], component: NewPageHelpContentComponent}
|
|
12 | 11 |
]) |
13 | 12 |
] |
14 | 13 |
}) |
Also available in: Unified diff
[Monitor Dashboard|Trunk]
Admin tool pages:
updates after migration
css updates after theme change