]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Add ability to display job errors
authorChocobozzz <me@florianbigard.com>
Tue, 27 Feb 2018 09:39:15 +0000 (10:39 +0100)
committerChocobozzz <me@florianbigard.com>
Tue, 27 Feb 2018 09:39:15 +0000 (10:39 +0100)
client/src/app/+admin/jobs/jobs-list/jobs-list.component.html
client/src/app/+admin/jobs/jobs-list/jobs-list.component.scss

index 87717d3dd5a1360457850149958e1439b8cd0d85..1469cf611d6f8246f3b08ef9fcd4ee890f7e6284 100644 (file)
         <pre>{{ job.data }}</pre>
       </td>
     </tr>
+    <tr class="job-error" *ngIf="job.error">
+      <td colspan="6">
+        <pre>{{ job.error }}</pre>
+      </td>
+    </tr>
   </ng-template>
 </p-table>
 
index 5c2ad21f2459531ef981e1e16d238f2c5c0836c6..ab05f1982599d9ee59a7f01ceae8aadf2c279c83 100644 (file)
@@ -8,3 +8,7 @@
 pre {
   font-size: 11px;
 }
+
+.job-error {
+  color: red;
+}