]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+admin/system/runners/runner-job-list/runner-job-list.component.html
Add % to runner job percentage
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / system / runners / runner-job-list / runner-job-list.component.html
index 7858b4bcaadd8606107a702b7346b575ede32e7e..654b60ca9f339f0991301fd9353a63bec144ffcd 100644 (file)
       <td>{{ runnerJob.type }}</td>
       <td>{{ runnerJob.state.label }}</td>
       <td>{{ runnerJob.priority }}</td>
-      <td>{{ runnerJob.progress }}</td>
+
+      <td>
+        <ng-container *ngIf="runnerJob.progress">{{ runnerJob.progress }}%</ng-container>
+      </td>
+
       <td>{{ runnerJob.runner?.name }}</td>
-      <td>{{ runnerJob.createdAt | date: 'short'  }}</td>
+      <td>{{ runnerJob.createdAt }}</td>
     </tr>
   </ng-template>
 
@@ -84,7 +88,7 @@
           <pre>{{ runnerJob.privatePayload }}</pre>
         </div>
 
-        <pre *ngIf="runnerJob.error" class=".text-danger" >{{ runnerJob.error }}</pre>
+        <pre *ngIf="runnerJob.error" class="text-danger" >{{ runnerJob.error }}</pre>
       </td>
     </tr>
   </ng-template>