diff --git a/SystemKonkursow/4.2.1/angular/src/app/app-routing.module.ts b/SystemKonkursow/4.2.1/angular/src/app/app-routing.module.ts index 65e5ac8..02db602 100644 --- a/SystemKonkursow/4.2.1/angular/src/app/app-routing.module.ts +++ b/SystemKonkursow/4.2.1/angular/src/app/app-routing.module.ts @@ -9,6 +9,7 @@ import { TenantsComponent } from './tenants/tenants.component'; import { RolesComponent } from 'app/roles/roles.component'; import { CategoriesListComponent } from '@app/categories-list/categories-list.component'; import { CompetitionsListComponent } from '@app/competitions-list/competitions-list.component'; +import { CompetitionDetailComponent } from '@app/competition-detail/competition-detail.component'; @NgModule({ imports: [ @@ -24,6 +25,7 @@ import { CompetitionsListComponent } from '@app/competitions-list/competitions-l { path: 'about', component: AboutComponent }, { path: 'categories-list', component: CategoriesListComponent, canActivate: [AppRouteGuard] }, { path: 'categories-list/:id', component: CompetitionsListComponent, canActivate: [AppRouteGuard] } + { path: 'categories-list/:id/:competitionId', component: CompetitionDetailComponent, canActivate: [AppRouteGuard] } ] } ]) diff --git a/SystemKonkursow/4.2.1/angular/src/app/app.module.ts b/SystemKonkursow/4.2.1/angular/src/app/app.module.ts index 0f6245e..2732cfb 100644 --- a/SystemKonkursow/4.2.1/angular/src/app/app.module.ts +++ b/SystemKonkursow/4.2.1/angular/src/app/app.module.ts @@ -34,6 +34,8 @@ import { SideBarFooterComponent } from '@app/layout/sidebar-footer.component'; import { RightSideBarComponent } from '@app/layout/right-sidebar.component'; import { CategoriesListComponent } from '@app/categories-list/categories-list.component'; import { CompetitionsListComponent } from '@app/competitions-list/competitions-list.component'; +import { CompetitionDetailComponent } from '@app/competition-detail/competition-detail.component'; + import { FilterClassesPipe } from '@app/pipe/filter-classes.pipe'; @NgModule({ @@ -58,6 +60,7 @@ import { FilterClassesPipe } from '@app/pipe/filter-classes.pipe'; RightSideBarComponent, CategoriesListComponent, CompetitionsListComponent, + CompetitionDetailComponent, FilterClassesPipe ], diff --git a/SystemKonkursow/4.2.1/angular/src/app/competition-detail/competition-detail.component.css b/SystemKonkursow/4.2.1/angular/src/app/competition-detail/competition-detail.component.css new file mode 100644 index 0000000..e69de29 diff --git a/SystemKonkursow/4.2.1/angular/src/app/competition-detail/competition-detail.component.html b/SystemKonkursow/4.2.1/angular/src/app/competition-detail/competition-detail.component.html new file mode 100644 index 0000000..d73c5bf --- /dev/null +++ b/SystemKonkursow/4.2.1/angular/src/app/competition-detail/competition-detail.component.html @@ -0,0 +1 @@ +
Szczegóły konkursu
\ No newline at end of file diff --git a/SystemKonkursow/4.2.1/angular/src/app/competition-detail/competition-detail.component.ts b/SystemKonkursow/4.2.1/angular/src/app/competition-detail/competition-detail.component.ts new file mode 100644 index 0000000..876371b --- /dev/null +++ b/SystemKonkursow/4.2.1/angular/src/app/competition-detail/competition-detail.component.ts @@ -0,0 +1,26 @@ +import { Component, OnInit, Injector, OnDestroy } from '@angular/core'; +import { appModuleAnimation } from '@shared/animations/routerTransition'; +import { AppComponentBase } from '@shared/app-component-base'; + +@Component({ + templateUrl: './competition-detail.component.html', + styleUrls: ['./competition-detail.component.css'], + animations: [appModuleAnimation()] +}) +export class CompetitionDetailComponent extends AppComponentBase implements OnInit, OnDestroy { + + constructor( + injector: Injector, + ) { + super(injector); + } + + public ngOnInit() { + + } + + public ngOnDestroy() { + + } + +} \ No newline at end of file diff --git a/SystemKonkursow/4.2.1/angular/src/app/competitions-list/competitions-list.component.html b/SystemKonkursow/4.2.1/angular/src/app/competitions-list/competitions-list.component.html index 27a09d1..96f8f5b 100644 --- a/SystemKonkursow/4.2.1/angular/src/app/competitions-list/competitions-list.component.html +++ b/SystemKonkursow/4.2.1/angular/src/app/competitions-list/competitions-list.component.html @@ -1,5 +1,5 @@