diff options
Diffstat (limited to 'client/src/app/+videos')
-rw-r--r-- | client/src/app/+videos/+video-watch/shared/information/video-alert.component.html | 4 | ||||
-rw-r--r-- | client/src/app/+videos/+video-watch/shared/information/video-alert.component.ts | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/client/src/app/+videos/+video-watch/shared/information/video-alert.component.html b/client/src/app/+videos/+video-watch/shared/information/video-alert.component.html index 6e5d0bcad..0c4d46714 100644 --- a/client/src/app/+videos/+video-watch/shared/information/video-alert.component.html +++ b/client/src/app/+videos/+video-watch/shared/information/video-alert.component.html | |||
@@ -2,6 +2,10 @@ | |||
2 | Transcoding failed, this video may not work properly. | 2 | Transcoding failed, this video may not work properly. |
3 | </div> | 3 | </div> |
4 | 4 | ||
5 | <div i18n class="alert alert-warning" *ngIf="isVideoMoveToObjectStorageFailed()"> | ||
6 | Move to external storage failed, this video may not work properly. | ||
7 | </div> | ||
8 | |||
5 | <div i18n class="alert alert-warning" *ngIf="isVideoToImport()"> | 9 | <div i18n class="alert alert-warning" *ngIf="isVideoToImport()"> |
6 | The video is being imported, it will be available when the import is finished. | 10 | The video is being imported, it will be available when the import is finished. |
7 | </div> | 11 | </div> |
diff --git a/client/src/app/+videos/+video-watch/shared/information/video-alert.component.ts b/client/src/app/+videos/+video-watch/shared/information/video-alert.component.ts index addea53c0..a3d3fa6fb 100644 --- a/client/src/app/+videos/+video-watch/shared/information/video-alert.component.ts +++ b/client/src/app/+videos/+video-watch/shared/information/video-alert.component.ts | |||
@@ -18,6 +18,10 @@ export class VideoAlertComponent { | |||
18 | return this.video && this.video.state.id === VideoState.TRANSCODING_FAILED | 18 | return this.video && this.video.state.id === VideoState.TRANSCODING_FAILED |
19 | } | 19 | } |
20 | 20 | ||
21 | isVideoMoveToObjectStorageFailed () { | ||
22 | return this.video && this.video.state.id === VideoState.TO_MOVE_TO_EXTERNAL_STORAGE_FAILED | ||
23 | } | ||
24 | |||
21 | isVideoToImport () { | 25 | isVideoToImport () { |
22 | return this.video && this.video.state.id === VideoState.TO_IMPORT | 26 | return this.video && this.video.state.id === VideoState.TO_IMPORT |
23 | } | 27 | } |