@if (videoCaption.action) {
{{ getCaptionLabel(videoCaption) }}
@switch (videoCaption.action) {
@case ('CREATE') {
Will be created on update
} @case ('UPDATE') {
Will be edited on update
Will be edited on update
} @case ('REMOVE') {
Will be deleted on update
}
}
@if (videoCaption.action === 'CREATE' || videoCaption.action === 'UPDATE') {
}
@switch (videoCaption.action) {
@case ('CREATE') {
Cancel creation
} @case ('UPDATE') {
Cancel editing
} @case ('REMOVE') {
Cancel deletion
}
}
} @else {
{{ getCaptionLabel(videoCaption) }}
Already uploaded on {{ videoCaption.updatedAt | ptDate }} ✔
}