X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fshared-main%2Fmisc%2Fhelp.component.ts;h=9647e05bdfd6aef7c4ea1bb2e6c3d48004e1de33;hb=f95628636b6ccdf3eae2449ca718e075b072f678;hp=ebc965a889787a127c6ba214984c360a0afb950c;hpb=66357162f8e1227495f09bd4f68446aad7071c6d;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/shared-main/misc/help.component.ts b/client/src/app/shared/shared-main/misc/help.component.ts index ebc965a88..9647e05bd 100644 --- a/client/src/app/shared/shared-main/misc/help.component.ts +++ b/client/src/app/shared/shared-main/misc/help.component.ts @@ -1,5 +1,6 @@ import { AfterContentInit, Component, ContentChildren, Input, OnChanges, OnInit, QueryList, TemplateRef } from '@angular/core' import { MarkdownService } from '@app/core' +import { GlobalIconName } from '@app/shared/shared-icons' import { PeerTubeTemplateDirective } from '../angular' @Component({ @@ -11,6 +12,9 @@ import { PeerTubeTemplateDirective } from '../angular' export class HelpComponent implements OnInit, OnChanges, AfterContentInit { @Input() helpType: 'custom' | 'markdownText' | 'markdownEnhanced' = 'custom' @Input() tooltipPlacement = 'right auto' + @Input() iconName: GlobalIconName = 'help' + @Input() title = $localize`Get help` + @Input() autoClose = 'outside' @ContentChildren(PeerTubeTemplateDirective) templates: QueryList>