mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 10:34:15 +00:00
97399 Implemented basic working tooltip on top level community list
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<!-- 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'}" -->
|
||||
|
||||
|
Reference in New Issue
Block a user