Fix help transcoding placement
This commit is contained in:
parent
34dd7cb4ca
commit
8e8eb2614b
3 changed files with 4 additions and 1 deletions
|
@ -6,5 +6,5 @@
|
|||
<span *ngIf="labelHtml" [innerHTML]="labelHtml"></span>
|
||||
</label>
|
||||
|
||||
<my-help *ngIf="helpHtml" tooltipPlacement="top" helpType="custom" i18n-customHtml [customHtml]="helpHtml"></my-help>
|
||||
<my-help *ngIf="helpHtml" [tooltipPlacement]="helpPlacement" helpType="custom" i18n-customHtml [customHtml]="helpHtml"></my-help>
|
||||
</div>
|
||||
|
|
|
@ -19,6 +19,7 @@ export class PeertubeCheckboxComponent implements ControlValueAccessor {
|
|||
@Input() labelText: string
|
||||
@Input() labelHtml: string
|
||||
@Input() helpHtml: string
|
||||
@Input() helpPlacement = 'top'
|
||||
@Input() disabled = false
|
||||
|
||||
// FIXME: https://github.com/angular/angular/issues/10816#issuecomment-307567836
|
||||
|
|
|
@ -118,6 +118,7 @@
|
|||
inputName="nsfw" formControlName="nsfw"
|
||||
i18n-labelText labelText="This video contains mature or explicit content"
|
||||
i18n-helpHtml helpHtml="Some instances do not list videos containing mature or explicit content by default."
|
||||
helpPlacement="bottom-right"
|
||||
></my-peertube-checkbox>
|
||||
|
||||
<my-peertube-checkbox
|
||||
|
@ -125,6 +126,7 @@
|
|||
inputName="waitTranscoding" formControlName="waitTranscoding"
|
||||
i18n-labelText labelText="Wait transcoding before publishing the video"
|
||||
i18n-helpHtml helpHtml="If you decide not to wait for transcoding before publishing the video, it could be unplayable until transcoding ends."
|
||||
helpPlacement="bottom-right"
|
||||
></my-peertube-checkbox>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue