From 516df59b3bbb0218afeda595ee4966800bff4519 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 3 Aug 2018 09:43:00 +0200 Subject: Remove ability to delete video imports Users should remove the linked video instead --- client/src/app/videos/+video-watch/video-watch.component.html | 4 ++++ client/src/app/videos/+video-watch/video-watch.component.ts | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'client/src/app') 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 @@ +
+ The video is being imported, it will be available when the import is finished. +
+
The video is being transcoded, it may not work properly.
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 { return this.video && this.video.state.id === VideoState.TO_TRANSCODE } + isVideoToImport () { + return this.video && this.video.state.id === VideoState.TO_IMPORT + } + hasVideoScheduledPublication () { return this.video && this.video.scheduledUpdate !== undefined } -- cgit v1.2.3