X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Badmin%2Fsystem%2Fsystem.routes.ts;h=72ab6705ad0703af827432d73dc7e9fd013b405b;hb=8cbc40b2fe9d36ef0505b9441276ca561342e9e9;hp=2d851794d22faa038bbc28ee63591f2cd49fab24;hpb=97567dd81f508dd6295ac4d73d849aa2ce0a6549;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+admin/system/system.routes.ts b/client/src/app/+admin/system/system.routes.ts index 2d851794d..72ab6705a 100644 --- a/client/src/app/+admin/system/system.routes.ts +++ b/client/src/app/+admin/system/system.routes.ts @@ -1,17 +1,15 @@ import { Routes } from '@angular/router' -import { UserRightGuard } from '../../core' -import { UserRight } from '../../../../../shared' -import { JobsComponent } from '@app/+admin/system/jobs/jobs.component' -import { LogsComponent } from '@app/+admin/system/logs' -import { SystemComponent } from '@app/+admin/system/system.component' -import { DebugComponent } from '@app/+admin/system/debug' +import { UserRightGuard } from '@app/core' +import { UserRight } from '@shared/models' +import { DebugComponent } from './debug' +import { JobsComponent } from './jobs/jobs.component' +import { LogsComponent } from './logs' +import { SystemComponent } from './system.component' export const SystemRoutes: Routes = [ { path: 'system', component: SystemComponent, - data: { - }, children: [ { path: '', @@ -25,7 +23,7 @@ export const SystemRoutes: Routes = [ data: { meta: { userRight: UserRight.MANAGE_JOBS, - title: 'Jobs' + title: $localize`Jobs` } } }, @@ -36,7 +34,7 @@ export const SystemRoutes: Routes = [ data: { meta: { userRight: UserRight.MANAGE_LOGS, - title: 'Logs' + title: $localize`Logs` } } }, @@ -47,7 +45,7 @@ export const SystemRoutes: Routes = [ data: { meta: { userRight: UserRight.MANAGE_DEBUG, - title: 'Debug' + title: $localize`Debug` } } }