1 <span *ngIf="metadataSyncInfo === 'no sync (zone is master)'">
3 <li><b>Status:</b></li>
7 <span *ngIf="metadataSyncInfo !== 'no sync (zone is master)'">
8 <ng-template #metadataSyncPopover>
9 <ul class="text-center">
10 <li *ngFor="let status of metadataSyncInfo.fullSyncStatus">
11 <span *ngIf="!status?.includes(metadataSyncInfo.syncstatus) && !status?.includes('failed') && !status?.includes('error')">
12 <span *ngIf="status?.includes(':')">
13 <b>{{ status.split(':')[0] | titlecase }}</b>:{{ status.split(':')[1] | titlecase}}
15 <span *ngIf="!status?.includes(':')">
16 <b>{{ status | titlecase }}</b>
19 <span *ngIf="status?.includes('failed') || status?.includes('error')">
20 {{ status | titlecase }}
26 <ng-template #showMetadataStatus>
27 <a *ngIf="metadataSyncInfo.syncstatus !== 'Not Syncing From Zone'"
28 class="lead text-primary"
29 [ngbPopover]="metadataSyncPopover"
31 popoverClass="rgw-overview-card-popover"
32 i18n>{{ metadataSyncInfo.syncstatus | titlecase }}</a>
33 <a *ngIf="metadataSyncInfo.syncstatus === 'Not Syncing From Zone'"
34 class="lead text-primary"
35 [ngbPopover]="metadataSyncPopover"
37 popoverClass="rgw-overview-card-popover"
40 <li><b>Status:</b></li>
41 <li *ngIf="metadataSyncInfo.syncstatus?.includes('failed') || metadataSyncInfo.syncstatus?.includes('error'); else showMetadataStatus">
42 <i class="text-danger"
43 [ngClass]="[icons.danger]"></i>
44 <a class="lead text-danger"
45 [ngbPopover]="metadataSyncPopover"
47 popoverClass="rgw-overview-card-popover"
49 <li class="mt-4 setwidth text-center"
50 *ngIf="metadataSyncInfo.syncstatus === 'preparing for full sync'">
51 <b>Full sync progress:</b>
52 <cd-usage-bar *ngIf="metadataSyncInfo.fullSync"
53 [total]="metadataSyncInfo.fullSync[1]"
54 [showMultisiteTooltip]="true"
55 [used]="metadataSyncInfo.fullSync[0]"
59 <li class="mt-4 setwidth text-center"
60 *ngIf="metadataSyncInfo.incrementalSync">
62 <cd-usage-bar *ngIf="metadataSyncInfo.incrementalSync"
63 [total]="metadataSyncInfo.totalShards"
64 [showMultisiteTooltip]="true"
65 [used]="metadataSyncInfo.usedShards"