diff options
Diffstat (limited to 'client/src/app/shared/shared-main/misc/help.component.ts')
-rw-r--r-- | client/src/app/shared/shared-main/misc/help.component.ts | 3 |
1 files changed, 3 insertions, 0 deletions
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..bcbb464f3 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 @@ | |||
1 | import { AfterContentInit, Component, ContentChildren, Input, OnChanges, OnInit, QueryList, TemplateRef } from '@angular/core' | 1 | import { AfterContentInit, Component, ContentChildren, Input, OnChanges, OnInit, QueryList, TemplateRef } from '@angular/core' |
2 | import { MarkdownService } from '@app/core' | 2 | import { MarkdownService } from '@app/core' |
3 | import { GlobalIconName } from '@app/shared/shared-icons' | ||
3 | import { PeerTubeTemplateDirective } from '../angular' | 4 | import { PeerTubeTemplateDirective } from '../angular' |
4 | 5 | ||
5 | @Component({ | 6 | @Component({ |
@@ -11,6 +12,8 @@ import { PeerTubeTemplateDirective } from '../angular' | |||
11 | export class HelpComponent implements OnInit, OnChanges, AfterContentInit { | 12 | export class HelpComponent implements OnInit, OnChanges, AfterContentInit { |
12 | @Input() helpType: 'custom' | 'markdownText' | 'markdownEnhanced' = 'custom' | 13 | @Input() helpType: 'custom' | 'markdownText' | 'markdownEnhanced' = 'custom' |
13 | @Input() tooltipPlacement = 'right auto' | 14 | @Input() tooltipPlacement = 'right auto' |
15 | @Input() iconName: GlobalIconName = 'help' | ||
16 | @Input() title = $localize`Get help` | ||
14 | 17 | ||
15 | @ContentChildren(PeerTubeTemplateDirective) templates: QueryList<PeerTubeTemplateDirective<'preHtml' | 'customHtml' | 'postHtml'>> | 18 | @ContentChildren(PeerTubeTemplateDirective) templates: QueryList<PeerTubeTemplateDirective<'preHtml' | 'customHtml' | 'postHtml'>> |
16 | 19 | ||