From d7f83948a1af0ef3bed61f83e87e826902c96f7d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 3 Aug 2018 09:27:30 +0200 Subject: Correctly handle video import errors --- .../my-account-video-imports.component.html | 19 +++++++++++++++++-- .../my-account-video-imports.component.scss | 8 ++++++++ .../videos/+video-edit/video-import.component.html | 2 +- 3 files changed, 26 insertions(+), 3 deletions(-) (limited to 'client/src/app') diff --git a/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html b/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html index 74ca33fa3..00b2d7cb0 100644 --- a/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html +++ b/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html @@ -1,9 +1,10 @@ + URL Video State @@ -12,8 +13,14 @@ - + + + + + + + {{ videoImport.targetUrl }} @@ -34,4 +41,12 @@ + + + + +
{{ videoImport.error }}
+ + +
diff --git a/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.scss b/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.scss index 5e6774739..bdd2f8270 100644 --- a/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.scss +++ b/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.scss @@ -1,2 +1,10 @@ @import '_variables'; @import '_mixins'; + +pre { + font-size: 11px; +} + +.video-import-error { + color: red; +} \ No newline at end of file diff --git a/client/src/app/videos/+video-edit/video-import.component.html b/client/src/app/videos/+video-edit/video-import.component.html index d59c6a23a..cfad5e289 100644 --- a/client/src/app/videos/+video-edit/video-import.component.html +++ b/client/src/app/videos/+video-edit/video-import.component.html @@ -6,7 +6,7 @@ -- cgit v1.2.3