2019-04-26 16:05:15 +02:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { RouterModule, Routes } from '@angular/router';
|
|
|
|
import { ExploreDmpListingComponent } from './explore-dmp-listing.component';
|
2019-06-11 10:25:32 +02:00
|
|
|
import { DmpOverviewComponent } from '../dmp/overview/dmp-overview.component';
|
2019-04-26 16:05:15 +02:00
|
|
|
|
|
|
|
const routes: Routes = [
|
|
|
|
{
|
|
|
|
path: '',
|
|
|
|
component: ExploreDmpListingComponent,
|
2019-06-11 10:25:32 +02:00
|
|
|
data: {
|
|
|
|
breadcrumb: true
|
|
|
|
}
|
|
|
|
},
|
2020-01-10 11:44:00 +01:00
|
|
|
{
|
|
|
|
path: 'versions/:groupId',
|
|
|
|
component: ExploreDmpListingComponent,
|
|
|
|
data: {
|
|
|
|
breadcrumb: true
|
|
|
|
},
|
|
|
|
},
|
2019-06-11 10:25:32 +02:00
|
|
|
{
|
|
|
|
path: 'overview/:publicId',
|
|
|
|
component: DmpOverviewComponent,
|
2019-04-26 16:05:15 +02:00
|
|
|
data: {
|
2019-09-16 17:46:19 +02:00
|
|
|
breadcrumb: true,
|
|
|
|
title: 'GENERAL.TITLES.EXPLORE-PLANS-OVERVIEW'
|
2019-04-26 16:05:15 +02:00
|
|
|
},
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [RouterModule.forChild(routes)],
|
|
|
|
exports: [RouterModule]
|
|
|
|
})
|
|
|
|
export class ExploreDmpRoutingModule { }
|