Add tooltip on caption upload to specify which formats are supported
This commit is contained in:
parent
988af781ac
commit
36d0677ec9
|
@ -23,6 +23,7 @@
|
||||||
<my-reactive-file
|
<my-reactive-file
|
||||||
formControlName="captionfile" inputName="captionfile" i18n-inputLabel inputLabel="Select the caption file"
|
formControlName="captionfile" inputName="captionfile" i18n-inputLabel inputLabel="Select the caption file"
|
||||||
[extensions]="videoCaptionExtensions" [maxFileSize]="videoCaptionMaxSize" [displayFilename]="true"
|
[extensions]="videoCaptionExtensions" [maxFileSize]="videoCaptionMaxSize" [displayFilename]="true"
|
||||||
|
i18n-ngbTooltip [ngbTooltip]="'(extensions: ' + videoCaptionExtensions.join(', ') + ')'"
|
||||||
></my-reactive-file>
|
></my-reactive-file>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,11 @@
|
||||||
|
|
||||||
.caption-file {
|
.caption-file {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
|
width: max-content;
|
||||||
|
|
||||||
|
::ng-deep .root {
|
||||||
|
width: max-content;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.warning-replace-caption {
|
.warning-replace-caption {
|
||||||
|
|
Loading…
Reference in New Issue