aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/misc/help.component.html
blob: 08a2fc3672fe41e7a1edf0e1a0bdc06ff768cada (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<ng-template #tooltipTemplate>
  <ng-template [ngIf]="preHtml">
    <p [innerHTML]="preHtml"></p>
    <br />
  </ng-template>

  <p [innerHTML]="mainHtml"></p>

  <ng-template [ngIf]="postHtml">
    <br />
    <p [innerHTML]="postHtml"></p>
  </ng-template>
</ng-template>

<span
  role="button"
  class="help-tooltip-button"
  container="body"
  title="Get help"
  i18n-title
  popoverClass="help-popover"
  [attr.aria-pressed]="isPopoverOpened"
  [ngbPopover]="tooltipTemplate"
  [placement]="tooltipPlacement"
  [autoClose]="true"
  (onHidden)="onPopoverHidden()"
  (onShown)="onPopoverShown()"
></span>