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 650448a74..2892d603d 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 @@ -183,7 +183,7 @@ [href]="videoCaption.captionPath" >{{ videoCaption.language.label }} -
Already uploaded ✔
+
Already uploaded on {{ videoCaption.updatedAt | date }} ✔
Edit Delete diff --git a/client/src/app/+videos/+video-edit/shared/video-edit.component.scss b/client/src/app/+videos/+video-edit/shared/video-edit.component.scss index e8a6c6e42..a8075cc6d 100644 --- a/client/src/app/+videos/+video-edit/shared/video-edit.component.scss +++ b/client/src/app/+videos/+video-edit/shared/video-edit.component.scss @@ -41,7 +41,6 @@ my-peertube-checkbox { a.caption-entry-label { @include disable-default-a-behaviour; - flex-grow: 1; color: #000; &:hover { @@ -53,11 +52,13 @@ my-peertube-checkbox { @include margin-right(20px); font-weight: bold; - width: 150px; + min-width: 100px; } .caption-entry-state { - width: 200px; + @include margin-right(15px); + + min-width: 250px; &.caption-entry-state-create { color: #39CC0B; diff --git a/client/src/app/shared/shared-main/video-caption/video-caption-edit.model.ts b/client/src/app/shared/shared-main/video-caption/video-caption-edit.model.ts index 129e80bc0..8d578cae6 100644 --- a/client/src/app/shared/shared-main/video-caption/video-caption-edit.model.ts +++ b/client/src/app/shared/shared-main/video-caption/video-caption-edit.model.ts @@ -6,6 +6,7 @@ export interface VideoCaptionEdit { action?: 'CREATE' | 'REMOVE' | 'UPDATE' captionfile?: any + updatedAt?: string } export type VideoCaptionWithPathEdit = VideoCaptionEdit & { captionPath?: string } diff --git a/server/models/video/video-caption.ts b/server/models/video/video-caption.ts index 6b240f116..5fbcd6e3b 100644 --- a/server/models/video/video-caption.ts +++ b/server/models/video/video-caption.ts @@ -195,7 +195,8 @@ export class VideoCaptionModel extends Model captionPath: string + updatedAt: string }