[href]="videoCaption.captionPath"
>{{ videoCaption.language.label }}</a>
- <div i18n class="caption-entry-state">Already uploaded ✔</div>
+ <div i18n class="caption-entry-state">Already uploaded on {{ videoCaption.updatedAt | date }} ✔</div>
<span i18n class="caption-entry-edit" (click)="videoCaptionEditModal.show()">Edit</span>
<span i18n class="caption-entry-delete" (click)="deleteCaption(videoCaption)">Delete</span>
a.caption-entry-label {
@include disable-default-a-behaviour;
- flex-grow: 1;
color: #000;
&:hover {
@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;
action?: 'CREATE' | 'REMOVE' | 'UPDATE'
captionfile?: any
+ updatedAt?: string
}
export type VideoCaptionWithPathEdit = VideoCaptionEdit & { captionPath?: string }
id: this.language,
label: VideoCaptionModel.getLanguageLabel(this.language)
},
- captionPath: this.getCaptionStaticPath()
+ captionPath: this.getCaptionStaticPath(),
+ updatedAt: this.updatedAt.toISOString()
}
}
export interface VideoCaption {
language: VideoConstant<string>
captionPath: string
+ updatedAt: string
}