2020-05-10 21:34:25 +07:00
|
|
|
<ng-container *ngIf="!noFiat && (viewFiat$ | async) && (conversions$ | async) as conversions; else viewFiatVin">
|
2021-05-03 10:11:30 -03:00
|
|
|
<span class="fiat">{{ conversions.USD * (satoshis / 100000000) | currency:'USD':'symbol':'1.2-2' }}</span>
|
2020-02-16 22:15:07 +07:00
|
|
|
</ng-container>
|
|
|
|
|
<ng-template #viewFiatVin>
|
2021-12-27 22:54:45 +04:00
|
|
|
<ng-template [ngIf]="(network === 'liquid' || network === 'liquidtestnet') && (satoshis === undefined || satoshis === null)" [ngIfElse]="default">
|
2020-12-02 04:19:33 +09:00
|
|
|
<span i18n="shared.confidential">Confidential</span>
|
2020-03-25 21:29:40 +07:00
|
|
|
</ng-template>
|
|
|
|
|
<ng-template #default>
|
2020-12-09 02:33:20 +01:00
|
|
|
‎{{ satoshis / 100000000 | number : digitsInfo }}
|
2021-05-03 10:11:30 -03:00
|
|
|
<span class="symbol"><ng-template [ngIf]="network === 'liquid'">L-</ng-template>
|
2021-12-27 22:54:45 +04:00
|
|
|
<ng-template [ngIf]="network === 'liquidtestnet'">tL-</ng-template>
|
2021-02-21 19:12:50 +07:00
|
|
|
<ng-template [ngIf]="network === 'testnet'">t</ng-template>
|
2021-05-03 10:11:30 -03:00
|
|
|
<ng-template [ngIf]="network === 'signet'">s</ng-template>BTC</span>
|
2020-03-25 21:29:40 +07:00
|
|
|
</ng-template>
|
2020-02-16 22:15:07 +07:00
|
|
|
</ng-template>
|