mempool/frontend/src/app/components/asset-circulation/asset-circulation.component.html

6 lines
490 B
HTML
Raw Normal View History

2022-02-16 17:32:12 +04:00
<ng-container *ngIf="(circulatingAmount$ | async) as circulating">
<ng-template [ngIf]="circulating.amount === -1" [ngIfElse]="default" i18n="shared.confidential">Confidential</ng-template>
<ng-template #default>
<span class="d-inline-block d-md-none">{{ circulating.amount | amountShortener }}</span>
<span class="d-none d-md-inline-block">{{ circulating.amount | number: '1.2-2' }}</span>&nbsp;<span class="ticker">{{ circulating.ticker }}</span></ng-template>
2022-02-13 00:46:42 +04:00
</ng-container>