]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+admin/system/system.routes.ts
Merge branch 'release/4.3.0' into develop
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / system / system.routes.ts
index 2d851794d22faa038bbc28ee63591f2cd49fab24..d180aa3b96e9d12315b92af5272ae5ca7e3dd8d5 100644 (file)
@@ -1,17 +1,13 @@
 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'
 
 export const SystemRoutes: Routes = [
   {
     path: 'system',
-    component: SystemComponent,
-    data: {
-    },
     children: [
       {
         path: '',
@@ -25,7 +21,7 @@ export const SystemRoutes: Routes = [
         data: {
           meta: {
             userRight: UserRight.MANAGE_JOBS,
-            title: 'Jobs'
+            title: $localize`Jobs`
           }
         }
       },
@@ -36,7 +32,7 @@ export const SystemRoutes: Routes = [
         data: {
           meta: {
             userRight: UserRight.MANAGE_LOGS,
-            title: 'Logs'
+            title: $localize`Logs`
           }
         }
       },
@@ -47,7 +43,7 @@ export const SystemRoutes: Routes = [
         data: {
           meta: {
             userRight: UserRight.MANAGE_DEBUG,
-            title: 'Debug'
+            title: $localize`Debug`
           }
         }
       }