From 6913f69134947432a192890b2de7c2d48094e85c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 11 Feb 2019 14:33:47 +0100 Subject: Move original publication date in advanced settings --- .../+video-edit/shared/video-edit.component.html | 92 +++++++++++----------- .../+video-edit/shared/video-edit.component.ts | 2 +- 2 files changed, 49 insertions(+), 45 deletions(-) (limited to 'client/src/app/videos/+video-edit/shared') diff --git a/client/src/app/videos/+video-edit/shared/video-edit.component.html b/client/src/app/videos/+video-edit/shared/video-edit.component.html index 2fb540170..1be1084ad 100644 --- a/client/src/app/videos/+video-edit/shared/video-edit.component.html +++ b/client/src/app/videos/+video-edit/shared/video-edit.component.html @@ -114,20 +114,6 @@ -
- - - - - -
- {{ formErrors.originallyPublishedAt }} -
-
- -
-
- -
+
+
+
+ +
-
- -
+
+ +
-
- - - -
- {{ formErrors.support }} +
+ + + +
+ {{ formErrors.support }} +
- +
+
+ + + + + +
+ {{ formErrors.originallyPublishedAt }} +
+
+ + - + +
diff --git a/client/src/app/videos/+video-edit/shared/video-edit.component.ts b/client/src/app/videos/+video-edit/shared/video-edit.component.ts index 836452948..c7ebcec25 100644 --- a/client/src/app/videos/+video-edit/shared/video-edit.component.ts +++ b/client/src/app/videos/+video-edit/shared/video-edit.component.ts @@ -26,7 +26,7 @@ export class VideoEditComponent implements OnInit, OnDestroy { @Input() videoPrivacies: VideoConstant[] = [] @Input() userVideoChannels: { id: number, label: string, support: string }[] = [] @Input() schedulePublicationPossible = true - @Input() videoCaptions: VideoCaptionEdit[] = [] + @Input() videoCaptions: (VideoCaptionEdit & { captionPath?: string })[] = [] @Input() waitTranscodingEnabled = true @ViewChild('videoCaptionAddModal') videoCaptionAddModal: VideoCaptionAddModalComponent -- cgit v1.2.3