* kanban routing moved to kanban module, tsp-info routing remained in its own place
This commit is contained in:
parent
985383797e
commit
59b463c3b2
@ -1,21 +1,11 @@
|
|||||||
import {NgModule} from '@angular/core';
|
import {NgModule} from '@angular/core';
|
||||||
import {Routes, RouterModule} from '@angular/router';
|
import {Routes, RouterModule} from '@angular/router';
|
||||||
|
|
||||||
import { KanbanService } from "./kanban/shared"
|
|
||||||
import { KanbanBoardComponent } from "./kanban/kanban-board/kanban-board.component"
|
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
redirectTo: '/kanban',
|
redirectTo: '/kanban',
|
||||||
pathMatch: 'full',
|
pathMatch: 'full',
|
||||||
},{
|
|
||||||
path: 'kanban',
|
|
||||||
children: [],
|
|
||||||
component: KanbanBoardComponent,
|
|
||||||
resolve: {
|
|
||||||
kanbanBoard: KanbanService,
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@ -10,11 +10,13 @@ import { PriorityColorPipe } from './shared/priority-color.pipe';
|
|||||||
import { ShortenTextPipe } from './shared/shorten-text.pipe';
|
import { ShortenTextPipe } from './shared/shorten-text.pipe';
|
||||||
import { SelfUpdaterService } from './shared/self-updater.service';
|
import { SelfUpdaterService } from './shared/self-updater.service';
|
||||||
import { BlockedDaysPipe } from './shared/blocked-days.pipe';
|
import { BlockedDaysPipe } from './shared/blocked-days.pipe';
|
||||||
|
import {KanbanRoutingModule} from "./kanban-routing.module";
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
HttpModule,
|
HttpModule,
|
||||||
|
KanbanRoutingModule
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
KanbanBoardComponent,
|
KanbanBoardComponent,
|
||||||
|
|||||||
@ -9,7 +9,7 @@ import {
|
|||||||
|
|
||||||
|
|
||||||
export class TspInfo {
|
export class TspInfo {
|
||||||
public cameraMovieUrls: Array<string> = [];
|
public cameraUrls: Array<string> = [];
|
||||||
public animGifs: Array<AnimGif> = [];
|
public animGifs: Array<AnimGif> = [];
|
||||||
public praGoals: {
|
public praGoals: {
|
||||||
core: PrioValues,
|
core: PrioValues,
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
import { NgModule } from '@angular/core';
|
import {NgModule} from '@angular/core';
|
||||||
import { Routes, RouterModule } from '@angular/router';
|
import {Routes, RouterModule} from '@angular/router';
|
||||||
import { InfoPageComponent } from "./info-page/info-page.component";
|
import {InfoPageComponent} from "./info-page/info-page.component";
|
||||||
import { TspInfoService } from "./shared/tsp-info.service";
|
import {TspInfoService} from "./shared/tsp-info.service";
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{
|
{
|
||||||
@ -18,4 +18,5 @@ const routes: Routes = [
|
|||||||
imports: [RouterModule.forChild(routes)],
|
imports: [RouterModule.forChild(routes)],
|
||||||
exports: [RouterModule]
|
exports: [RouterModule]
|
||||||
})
|
})
|
||||||
export class TspInfoRoutingModule { }
|
export class TspInfoRoutingModule {
|
||||||
|
}
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
import { NgModule } from '@angular/core';
|
import {NgModule} from '@angular/core';
|
||||||
import { CommonModule } from '@angular/common';
|
import {CommonModule} from '@angular/common';
|
||||||
|
|
||||||
import { TspInfoRoutingModule } from './tsp-info-routing.module';
|
import {TspInfoRoutingModule} from './tsp-info-routing.module';
|
||||||
import { InfoBoxComponent } from './info-box/info-box.component';
|
import {InfoBoxComponent} from './info-box/info-box.component';
|
||||||
import { TrProgressComponent } from './tr-progress/tr-progress.component';
|
import {TrProgressComponent} from './tr-progress/tr-progress.component';
|
||||||
import { ExpeditesComponent } from './expedites/expedites.component';
|
import {ExpeditesComponent} from './expedites/expedites.component';
|
||||||
import { TrFlowErrorsComponent } from './tr-flow-errors/tr-flow-errors.component';
|
import {TrFlowErrorsComponent} from './tr-flow-errors/tr-flow-errors.component';
|
||||||
import { PraGoalsComponent } from './pra-goals/pra-goals.component';
|
import {PraGoalsComponent} from './pra-goals/pra-goals.component';
|
||||||
import { InfoPageComponent } from './info-page/info-page.component';
|
import {InfoPageComponent} from './info-page/info-page.component';
|
||||||
import { AnimgifComponent } from './animgif/animgif.component';
|
import {AnimgifComponent} from './animgif/animgif.component';
|
||||||
import { TspInfoService } from './shared/tsp-info.service';
|
import {TspInfoService} from './shared/tsp-info.service';
|
||||||
import { HttpModule } from "@angular/http";
|
import {HttpModule} from "@angular/http";
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
@ -29,4 +29,5 @@ import { HttpModule } from "@angular/http";
|
|||||||
],
|
],
|
||||||
providers: [TspInfoService]
|
providers: [TspInfoService]
|
||||||
})
|
})
|
||||||
export class TspInfoModule { }
|
export class TspInfoModule {
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user