mirror of
https://github.com/mempool/mempool.git
synced 2025-01-10 07:26:46 +01:00
14 lines
688 B
HTML
14 lines
688 B
HTML
<ng-container *ngIf="!noFiat && (viewFiat$ | async) && (conversions$ | async) as conversions; else viewFiatVin">
|
|
<span>{{ conversions.USD * (satoshis / 100000000) | currency:'USD':'symbol':'1.2-2' }}</span>
|
|
</ng-container>
|
|
<ng-template #viewFiatVin>
|
|
<ng-template [ngIf]="network === 'liquid' && (satoshis === undefined || satoshis === null)" [ngIfElse]="default">
|
|
<span i18n="shared.confidential">Confidential</span>
|
|
</ng-template>
|
|
<ng-template #default>
|
|
‎{{ satoshis / 100000000 | number : digitsInfo }}
|
|
<ng-template [ngIf]="network === 'liquid'">L-</ng-template>
|
|
<ng-template [ngIf]="network === 'testnet'">t</ng-template>BTC
|
|
</ng-template>
|
|
</ng-template>
|