mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
27 lines
839 B
HTML
27 lines
839 B
HTML
<!-- Set tooltip text. -->
|
|
<ng-template #help>
|
|
<div class="preserve-line-breaks ds-context-help-content">{{ content | translate }}</div>
|
|
</ng-template>
|
|
|
|
<!-- Help icon, add tooltip to help icon. -->
|
|
<i class="ds-context-help-icon fas fa-question-circle shadow-sm"
|
|
[ngbTooltip]="help"
|
|
container="'body'"
|
|
triggers="click:blur">
|
|
</i>
|
|
|
|
<!-- Indicate where to put the template (that is, the contents of
|
|
whatever component the context help directive was used on).
|
|
-->
|
|
<ng-container *ngTemplateOutlet="templateRef"></ng-container>
|
|
|
|
|
|
|
|
<!-- <i class="ds-context-help-icon fas fa-question-circle shadow-sm"></i> -->
|
|
<!-- <ng-container *ngTemplateOutlet="templateRef"></ng-container> -->
|
|
|
|
|
|
<!-- *ngClass="{'ds-context-help-icon-right': tooltipPlacement === 'right', 'ds-context-help-icon-left': tooltipPlacement === 'left'}" -->
|
|
|
|
|