diff options
Diffstat (limited to 'client/src/app/videos')
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.html | 4 | ||||
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.ts | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch.component.html b/client/src/app/videos/+video-watch/video-watch.component.html index f39b5a94a..5a132112d 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.html +++ b/client/src/app/videos/+video-watch/video-watch.component.html | |||
@@ -8,6 +8,10 @@ | |||
8 | </div> | 8 | </div> |
9 | </div> | 9 | </div> |
10 | 10 | ||
11 | <div i18n class="alert alert-warning" *ngIf="isVideoToImport()"> | ||
12 | The video is being imported, it will be available when the import is finished. | ||
13 | </div> | ||
14 | |||
11 | <div i18n class="alert alert-warning" *ngIf="isVideoToTranscode()"> | 15 | <div i18n class="alert alert-warning" *ngIf="isVideoToTranscode()"> |
12 | The video is being transcoded, it may not work properly. | 16 | The video is being transcoded, it may not work properly. |
13 | </div> | 17 | </div> |
diff --git a/client/src/app/videos/+video-watch/video-watch.component.ts b/client/src/app/videos/+video-watch/video-watch.component.ts index 995fb8e2b..04bcc6cd1 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.ts +++ b/client/src/app/videos/+video-watch/video-watch.component.ts | |||
@@ -289,6 +289,10 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
289 | return this.video && this.video.state.id === VideoState.TO_TRANSCODE | 289 | return this.video && this.video.state.id === VideoState.TO_TRANSCODE |
290 | } | 290 | } |
291 | 291 | ||
292 | isVideoToImport () { | ||
293 | return this.video && this.video.state.id === VideoState.TO_IMPORT | ||
294 | } | ||
295 | |||
292 | hasVideoScheduledPublication () { | 296 | hasVideoScheduledPublication () { |
293 | return this.video && this.video.scheduledUpdate !== undefined | 297 | return this.video && this.video.scheduledUpdate !== undefined |
294 | } | 298 | } |