Files
mempool/frontend/src/app/components/amount/amount.component.html
T

14 lines
751 B
HTML
Raw Normal View History

2020-05-10 21:34:25 +07:00
<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>
2020-09-28 16:32:48 +07:00
<ng-template [ngIf]="network === 'liquid' && (satoshis === undefined || satoshis === null)" [ngIfElse]="default">
<span i18n="shared.confidential">Confidential</span>
</ng-template>
<ng-template #default>
&lrm;{{ satoshis / 100000000 | number : digitsInfo }}
2020-05-10 16:22:35 +07:00
<ng-template [ngIf]="network === 'liquid'">L-</ng-template>
2021-02-21 19:12:50 +07:00
<ng-template [ngIf]="network === 'testnet'">t</ng-template>
2021-02-21 00:40:47 +07:00
<ng-template [ngIf]="network === 'signet'">s</ng-template>BTC
</ng-template>
</ng-template>