]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+admin/system/system.routes.ts
Add % to runner job percentage
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / system / system.routes.ts
index 0e8d985193552aeb9273d48cea19592dd12e1c80..87e4b25b3bddf9f11fc01ae3c9dcf640183db60e 100644 (file)
@@ -4,14 +4,11 @@ import { UserRight } from '@shared/models'
 import { DebugComponent } from './debug'
 import { JobsComponent } from './jobs/jobs.component'
 import { LogsComponent } from './logs'
-import { SystemComponent } from './system.component'
+import { RunnersRoutes } from './runners'
 
 export const SystemRoutes: Routes = [
   {
     path: 'system',
-    component: SystemComponent,
-    data: {
-    },
     children: [
       {
         path: '',
@@ -25,7 +22,7 @@ export const SystemRoutes: Routes = [
         data: {
           meta: {
             userRight: UserRight.MANAGE_JOBS,
-            title: 'Jobs'
+            title: $localize`Jobs`
           }
         }
       },
@@ -36,7 +33,7 @@ export const SystemRoutes: Routes = [
         data: {
           meta: {
             userRight: UserRight.MANAGE_LOGS,
-            title: 'Logs'
+            title: $localize`Logs`
           }
         }
       },
@@ -47,10 +44,12 @@ export const SystemRoutes: Routes = [
         data: {
           meta: {
             userRight: UserRight.MANAGE_DEBUG,
-            title: 'Debug'
+            title: $localize`Debug`
           }
         }
-      }
+      },
+
+      ...RunnersRoutes
     ]
   }
 ]