aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-02-27 10:39:15 +0100
committerChocobozzz <me@florianbigard.com>2018-02-27 10:39:15 +0100
commitc1953c5664c5f3c1572e9e607482a192d821385e (patch)
tree7e87550ae32e2f1e6b7e10dcbb2514ddeace8f92 /client/src/app/+admin
parent98f535a508be221a343457f6d38eb7a96d650faf (diff)
downloadPeerTube-c1953c5664c5f3c1572e9e607482a192d821385e.tar.gz
PeerTube-c1953c5664c5f3c1572e9e607482a192d821385e.tar.zst
PeerTube-c1953c5664c5f3c1572e9e607482a192d821385e.zip
Add ability to display job errors
Diffstat (limited to 'client/src/app/+admin')
-rw-r--r--client/src/app/+admin/jobs/jobs-list/jobs-list.component.html5
-rw-r--r--client/src/app/+admin/jobs/jobs-list/jobs-list.component.scss4
2 files changed, 9 insertions, 0 deletions
diff --git a/client/src/app/+admin/jobs/jobs-list/jobs-list.component.html b/client/src/app/+admin/jobs/jobs-list/jobs-list.component.html
index 87717d3dd..1469cf611 100644
--- a/client/src/app/+admin/jobs/jobs-list/jobs-list.component.html
+++ b/client/src/app/+admin/jobs/jobs-list/jobs-list.component.html
@@ -44,6 +44,11 @@
44 <pre>{{ job.data }}</pre> 44 <pre>{{ job.data }}</pre>
45 </td> 45 </td>
46 </tr> 46 </tr>
47 <tr class="job-error" *ngIf="job.error">
48 <td colspan="6">
49 <pre>{{ job.error }}</pre>
50 </td>
51 </tr>
47 </ng-template> 52 </ng-template>
48</p-table> 53</p-table>
49 54
diff --git a/client/src/app/+admin/jobs/jobs-list/jobs-list.component.scss b/client/src/app/+admin/jobs/jobs-list/jobs-list.component.scss
index 5c2ad21f2..ab05f1982 100644
--- a/client/src/app/+admin/jobs/jobs-list/jobs-list.component.scss
+++ b/client/src/app/+admin/jobs/jobs-list/jobs-list.component.scss
@@ -8,3 +8,7 @@
8pre { 8pre {
9 font-size: 11px; 9 font-size: 11px;
10} 10}
11
12.job-error {
13 color: red;
14}