]>
Commit | Line | Data |
---|---|---|
8a8e02a4 | 1 | <ng-template #tooltipTemplate> |
421d935d C |
2 | <p *ngIf="preHtmlTemplate"> |
3 | <ng-template *ngTemplateOutlet="preHtmlTemplate"></ng-template> | |
4 | </p> | |
8a8e02a4 | 5 | |
421d935d C |
6 | <ng-container *ngIf="preHtmlTemplate && (customHtmlTemplate || mainHtml || postHtmlTemplate)"> |
7 | <br /><br /> | |
8 | </ng-container> | |
8a8e02a4 | 9 | |
421d935d C |
10 | <p *ngIf="customHtmlTemplate"> |
11 | <ng-template *ngTemplateOutlet="customHtmlTemplate"></ng-template> | |
12 | </p> | |
13 | ||
14 | <p *ngIf="mainHtml" [innerHTML]="mainHtml"></p> | |
15 | ||
16 | <ng-container *ngIf="(customHtmlTemplate || mainHtml) && postHtmlTemplate"> | |
17 | <br /><br /> | |
18 | </ng-container> | |
19 | ||
20 | <p *ngIf="postHtmlTemplate"> | |
21 | <ng-template *ngTemplateOutlet="postHtmlTemplate"></ng-template> | |
22 | </p> | |
8a8e02a4 C |
23 | </ng-template> |
24 | ||
2b084d70 | 25 | <span |
0f7fedc3 | 26 | role="button" |
04ed10b2 | 27 | class="help-tooltip-button" |
bc144e16 | 28 | container="body" |
41f657c5 | 29 | title="Get help" |
b1d40cff | 30 | i18n-title |
2f1548fd | 31 | popoverClass="help-popover" |
0f7fedc3 | 32 | [attr.aria-pressed]="isPopoverOpened" |
63347a0f | 33 | [ngbPopover]="tooltipTemplate" |
41f657c5 | 34 | [placement]="tooltipPlacement" |
a975517c | 35 | autoClose="outside" |
0f7fedc3 C |
36 | (onHidden)="onPopoverHidden()" |
37 | (onShown)="onPopoverShown()" | |
457bb213 C |
38 | > |
39 | <my-global-icon iconName="help"></my-global-icon> | |
40 | </span> |