Revize 0d1b0550
Přidáno uživatelem Václav Jirák před téměř 6 roky(ů)
frontend/src/app/app-routing.module.ts | ||
---|---|---|
1 | 1 |
import { NgModule } from '@angular/core'; |
2 | 2 |
import { Routes, RouterModule } from '@angular/router'; |
3 |
import {EmployeesListComponent} from './employees-list/employees-list.component'; |
|
4 |
import {DashboardComponent} from './dashboard/dashboard.component'; |
|
3 | 5 |
|
4 |
const routes: Routes = []; |
|
6 |
const routes: Routes = [ |
|
7 |
{ path: 'employees', component: EmployeesListComponent }, |
|
8 |
{ path: 'dashboard', component: DashboardComponent }, |
|
9 |
{ path: '', redirectTo: '/dashboard', pathMatch: 'full' }, |
|
10 |
]; |
|
5 | 11 |
|
6 | 12 |
@NgModule({ |
7 | 13 |
imports: [RouterModule.forRoot(routes)], |
Také k dispozici: Unified diff
Re #7263 Static view for employer initialized
Re #7263 Day picker component implemented
Re #7263 Day picker component modified
Re #7253 Off days component implemented
Re #7263 User approval component implemented
Re #7263 Minor changes
Re #7263 Free days approval component implemented
Re #7263 Free days renamed to Off days
Re #7263 Created simple menu with a service and mock data
Re #7263 Implemented routing for dashboard and employee list
Re #7263 Added simple page for employee route
Re #7263 Off days approval component modified
Re #7263 Days off info component modified
Re #7263 Oncoming days off component implemented
Re #7263 Employer dashboard component implemented
Re #7263 Basic employer's dashboard completed
Re #7263 Menu items correctly displayed when selected
Re #7263 Changed click behavior in menu list
Re #7263 Removed information about remaining sick days