Add tooltip on caption upload to specify which formats are supported

pull/2711/head
Rigel Kent 2020-04-18 09:55:38 +02:00 committed by Rigel Kent
parent 988af781ac
commit 36d0677ec9
2 changed files with 6 additions and 0 deletions

View File

@ -23,6 +23,7 @@
<my-reactive-file
formControlName="captionfile" inputName="captionfile" i18n-inputLabel inputLabel="Select the caption file"
[extensions]="videoCaptionExtensions" [maxFileSize]="videoCaptionMaxSize" [displayFilename]="true"
i18n-ngbTooltip [ngbTooltip]="'(extensions: ' + videoCaptionExtensions.join(', ') + ')'"
></my-reactive-file>
</div>

View File

@ -7,6 +7,11 @@
.caption-file {
margin-top: 20px;
width: max-content;
::ng-deep .root {
width: max-content;
}
}
.warning-replace-caption {