]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+admin/system/system.component.html
Use HTML config when possible
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / system / system.component.html
index 345a101e64bd9407479f1bf08e5cb7d1186a5eaf..5385887b70a367ca31bcb2ed6728aa0d33eb2f43 100644 (file)
@@ -1,10 +1,10 @@
 <div class="admin-sub-header">
-  <div i18n class="form-sub-title">System</div>
-
   <div class="admin-sub-nav">
-    <a i18n routerLink="jobs" routerLinkActive="active">Jobs</a>
+    <a *ngIf="hasJobsRight()" i18n routerLink="jobs" routerLinkActive="active">Jobs</a>
+
+    <a *ngIf="hasLogsRight()" i18n routerLink="logs" routerLinkActive="active">Logs</a>
 
-    <a i18n routerLink="logs" routerLinkActive="active">Logs</a>
+    <a *ngIf="hasDebugRight()" i18n routerLink="debug" routerLinkActive="active">Debug</a>
   </div>
 </div>