Revision 58098
Added by Stefania Martziou about 4 years ago
sources.routing.ts | ||
---|---|---|
1 |
/* |
|
2 |
* created by myrto |
|
3 |
*/ |
|
4 |
|
|
5 | 1 |
import { RouterModule, Routes } from '@angular/router'; |
6 | 2 |
import { NgModule } from '@angular/core'; |
7 |
import { SourcesComponent } from './sources.component'; |
|
8 | 3 |
import { SourcesRegisterComponent } from './sources-register.component'; |
9 |
import { SourcesUpdateComponent } from './sources-update.component'; |
|
10 | 4 |
import { SrLiteratureComponent } from './sources-register/sr-literature.component'; |
11 |
import { SourcesUpdateRepoComponent } from './sources-update-repo.component'; |
|
12 | 5 |
import { SrDataComponent } from './sources-register/sr-data.component'; |
13 | 6 |
import { SrJournalComponent } from './sources-register/sr-journal.component'; |
14 | 7 |
import { SrAggregatorComponent } from './sources-register/sr-aggregator.component'; |
... | ... | |
43 | 36 |
} |
44 | 37 |
] |
45 | 38 |
}, |
46 |
{ |
|
47 |
path: 'update', |
|
48 |
children: [ |
|
49 |
{ |
|
50 |
path: '', |
|
51 |
component: SourcesUpdateComponent |
|
52 |
}, |
|
53 |
{ |
|
54 |
path: ':id', |
|
55 |
component: SourcesUpdateRepoComponent |
|
56 |
} |
|
57 |
] |
|
58 |
} |
|
59 | 39 |
] |
40 |
// path: '', |
|
41 |
// component: SourcesRegisterComponent, |
|
42 |
// children: [ |
|
43 |
// { |
|
44 |
// path: 'literature', |
|
45 |
// component: SrLiteratureComponent |
|
46 |
// }, |
|
47 |
// { |
|
48 |
// path: 'data', |
|
49 |
// component: SrDataComponent |
|
50 |
// }, |
|
51 |
// { |
|
52 |
// path: 'journal', |
|
53 |
// component: SrJournalComponent |
|
54 |
// }, |
|
55 |
// { |
|
56 |
// path: 'aggregator', |
|
57 |
// component: SrAggregatorComponent |
|
58 |
// } |
|
59 |
// ] |
|
60 | 60 |
} |
61 | 61 |
]; |
62 | 62 |
|
Also available in: Unified diff
Second commit for the new layout provided by the UX team