1 <span *ngIf="metadataSyncInfo === 'no sync (zone is master)'">
3 <li><b i18n>Status:</b></li>
7 <span *ngIf="metadataSyncInfo !== 'no sync (zone is master)'">
9 <ng-template #upToDateTpl>
10 <li class="badge badge-success"
13 <cds-toggletip [dropShadow]="true"
15 <div cdsToggletipButton
17 <ng-template #showMetadataStatus>
18 <a *ngIf="metadataSyncInfo.syncstatus !== 'Not Syncing From Zone'"
19 class="lead text-primary"
20 popoverClass="rgw-overview-card-popover"
21 i18n>{{ metadataSyncInfo.syncstatus | titlecase }}</a>
22 <a *ngIf="metadataSyncInfo.syncstatus === 'Not Syncing From Zone'"
23 class="lead text-primary"
26 <li><b i18n>Status:</b></li>
27 <li *ngIf="metadataSyncInfo.syncstatus?.includes('failed') || metadataSyncInfo.syncstatus?.includes('error'); else showMetadataStatus">
28 <svg [cdsIcon]="icons.danger"
30 class="cds-danger-color"></svg>
31 <a class="lead text-danger"
35 <div cdsToggletipContent>
36 <div class="cds--popover-scroll-container">
37 <ul class="text-center">
38 <li><h5><b i18n>Metadata Sync Status:</b></h5></li>
39 <li *ngFor="let status of metadataSyncInfo.fullSyncStatus">
40 <span *ngIf="!status?.includes(metadataSyncInfo.syncstatus) && !status?.includes('failed') && !status?.includes('error')">
41 <span *ngIf="status?.includes(':')">
42 <b>{{ status.split(':')[0] | titlecase }}</b>:{{ status.split(':')[1] | titlecase}}
44 <span *ngIf="!status?.includes(':')">
45 <b>{{ status | titlecase }}</b>
48 <span *ngIf="status?.includes('failed') || status?.includes('error')">
49 {{ status | titlecase }}
56 <li class="mt-4 fw-bold"
60 <li class="badge badge-info"
61 *ngIf="metadataSyncInfo.timestamp; else upToDateTpl">{{ metadataSyncInfo.timestamp | relativeDate }}</li>