aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/shared/misc/help.component.html
blob: 28ccb1e26170fc1c78fc04067dbb2455810ef462 (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
  [attr.aria-pressed]="isPopoverOpened"
  [ngbPopover]="tooltipTemplate"
  [placement]="tooltipPlacement"
  [autoClose]="true"
  (onHidden)="onPopoverHidden()"
  (onShown)="onPopoverShown()"
></span>