mempool/frontend/src/app/components/amount/amount.component.html
softsimon 91a45aae30
Search box text updated.
BTC ticker fix.
Dropdown color fix.
Miner button tooltip.
2020-05-10 16:03:22 +07:00

15 lines
671 B
HTML

<ng-container *ngIf="(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" [ngIfElse]="default">
Confidential
</ng-template>
<ng-template #default>
{{ satoshis / 100000000 | number : digitsInfo }}
<ng-template [ngIf]="network === 'liquid'">L-BTC</ng-template>
<ng-template [ngIf]="network === 'testnet'">tBTC</ng-template>
<ng-template [ngIf]="network === ''">BTC</ng-template>
</ng-template>
</ng-template>