diff options
author | Chocobozzz <me@florianbigard.com> | 2018-11-16 10:05:25 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-11-16 10:05:25 +0100 |
commit | 7373507fa830b0f18cb4cd95dfd923b1600e501d (patch) | |
tree | 112fc5b4bc0cabd599a39452962cefb9733f97ec /client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.html | |
parent | fe05c3acbd48c72ac7e503bebde91830121a0bf1 (diff) | |
download | PeerTube-7373507fa830b0f18cb4cd95dfd923b1600e501d.tar.gz PeerTube-7373507fa830b0f18cb4cd95dfd923b1600e501d.tar.zst PeerTube-7373507fa830b0f18cb4cd95dfd923b1600e501d.zip |
Improve video upload error handling
Diffstat (limited to 'client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.html')
-rw-r--r-- | client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.html b/client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.html index a933a64f0..11a81ad66 100644 --- a/client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.html +++ b/client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.html | |||
@@ -45,7 +45,12 @@ | |||
45 | </div> | 45 | </div> |
46 | </div> | 46 | </div> |
47 | 47 | ||
48 | <div *ngIf="hasImportedVideo" class="alert alert-info" i18n> | 48 | <div *ngIf="error" class="alert alert-danger"> |
49 | <div i18n>Sorry, but something went wrong</div> | ||
50 | {{ error }} | ||
51 | </div> | ||
52 | |||
53 | <div *ngIf="hasImportedVideo && !error" class="alert alert-info" i18n> | ||
49 | Congratulations, the video will be imported with BitTorrent! You can already add information about this video. | 54 | Congratulations, the video will be imported with BitTorrent! You can already add information about this video. |
50 | </div> | 55 | </div> |
51 | 56 | ||