</ng-template>
<div class="info-card-content-clickable"
[ngStyle]="healthData.health.status | healthColor"
- [popover]="healthChecks"
- triggers=""
- #healthChecksTarget="bs-popover"
- placement="bottom"
- container="body"
- containerClass="info-card-popover-cluster-status"
- (click)="healthChecksTarget.toggle()">
+ [ngbPopover]="healthChecks"
+ popoverClass="info-card-popover-cluster-status">
{{ healthData.health.status }} <i *ngIf="healthData.health?.status != 'HEALTH_OK'"
class="fa fa-exclamation-triangle"></i>
</div>
{{ healthData.iscsi_daemons.up + healthData.iscsi_daemons.down }} total
<span class="card-text-line-break"></span>
{{ healthData.iscsi_daemons.up }} up,
- <span [ngClass]="{'card-text-error': healthData.iscsi_daemons.down > 0}">{{ healthData.iscsi_daemons.down }} down</span>
+ <span [ngClass]="{'card-text-error': healthData.iscsi_daemons.down > 0}">{{ healthData.iscsi_daemons.down }}
+ down</span>
</cd-info-card>
</cd-info-group>
i18n-cardTitle
class="cd-capacity-card cd-chart-card"
contentClass="content-chart"
- (click)="pgStatusTarget.toggle()"
*ngIf="healthData.pg_info">
<ng-template #pgStatus>
<ng-container *ngTemplateOutlet="logsLink"></ng-container>
</ul>
</ng-template>
<div class="pg-status-popover-wrapper">
- <div [popover]="pgStatus"
- triggers=""
- #pgStatusTarget="bs-popover"
- placement="bottom">
+ <div [ngbPopover]="pgStatus">
<cd-health-pie [data]="healthData"
[config]="pgStatusChartConfig"
(prepareFn)="preparePgStatus($event[0], $event[1])">