Revision 44406
Added by Konstantina Galouni over 7 years ago
app.routing.ts | ||
---|---|---|
27 | 27 |
import { AdvancedSearchOrganizationsComponent } from './searchPages/advanced/advancedSearchOrganizations.component'; |
28 | 28 |
|
29 | 29 |
|
30 |
import { DepositComponent } from './deposit/deposit.component'; |
|
31 |
import { DepositResultComponent } from './deposit/depositResult.component'; |
|
30 |
import { DepositPublicationsComponent } from './deposit/depositPublications.component'; |
|
31 |
import { DepositDatasetsComponent } from './deposit/depositDatasets.component'; |
|
32 |
import { DepositPublicationsResultComponent } from './deposit/depositPublicationsResult.component'; |
|
33 |
import { DepositDatasetsResultComponent } from './deposit/depositDatasetsResult.component'; |
|
34 |
|
|
32 | 35 |
import { ErrorPageComponent } from './error/errorPage.component'; |
33 | 36 |
import { TestComponent } from './test/test.component'; |
34 | 37 |
|
... | ... | |
39 | 42 |
const appRoutes: Routes = [ |
40 | 43 |
{ path: '', component: SearchComponent, pathMatch: 'full' }, |
41 | 44 |
{ path: 'claims', component: ClaimsAdminComponent }, |
42 |
{ path: 'home', component: HomeComponent },
|
|
43 |
{ path: 'claim', component: ClaimComponent },
|
|
44 |
{ path: 'myclaims', component: MyClaimsComponent },
|
|
45 |
{ path: 'home', component: HomeComponent },
|
|
46 |
{ path: 'claim', component: ClaimComponent },
|
|
47 |
{ path: 'myclaims', component: MyClaimsComponent },
|
|
45 | 48 |
{ path: 'search/person', component: PersonComponent }, |
46 | 49 |
{ path: 'search/project', component: ProjectComponent }, |
47 | 50 |
{ path: 'search/organization', component: OrganizationComponent }, |
... | ... | |
65 | 68 |
{ path: 'search/advanced/datasets', component: AdvancedSearchDatasetsComponent }, |
66 | 69 |
{ path: 'search/advanced/people', component: AdvancedSearchPeopleComponent }, |
67 | 70 |
{ path: 'search/advanced/organizations', component: AdvancedSearchOrganizationsComponent }, |
68 |
{ path: 'deposit', component: DepositComponent}, |
|
69 |
{ path: 'deposit-results', component: DepositResultComponent}, |
|
71 |
{ path: 'deposit-publications', component: DepositPublicationsComponent }, |
|
72 |
{ path: 'deposit-datasets', component: DepositDatasetsComponent }, |
|
73 |
{ path: 'deposit-publications-result', component: DepositPublicationsResultComponent} , |
|
74 |
{ path: 'deposit-datasets-result', component: DepositDatasetsResultComponent }, |
|
70 | 75 |
{ path: 'test', component: TestComponent}, |
71 | 76 |
{ path: 'search', component: SearchAllComponent }, |
72 |
{ path: 'error', component: ErrorPageComponent}, |
|
73 |
{ path: '**', component: ErrorPageComponent } // it has to be the last one - otherwise the next declaration are ignored |
|
77 |
{ path: 'error', component: ErrorPageComponent},
|
|
78 |
{ path: '**', component: ErrorPageComponent } // it has to be the last one - otherwise the next declaration are ignored
|
|
74 | 79 |
|
75 | 80 |
]; |
76 | 81 |
|
Also available in: Unified diff
Deposit Pages for 'Publications' and 'R3data' Repositories seperated | publications and datasets tabs in dataprovider landing page ready | subjects categorized by taxonomy added in publication landing page