aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/shared/misc/help.component.html
blob: 444425c9f0a65dc7b32d11fff876eed3965333e0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                  
     
               
                             
                  
                  
            
                             
                                       
                                
                                
                    

                                


                                                   
<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()"
>
  <my-global-icon iconName="help"></my-global-icon>
</span>