mirror of
https://github.com/mempool/mempool.git
synced 2025-03-13 11:36:07 +01:00
Romanz support for address page
This commit is contained in:
parent
dfc61f3991
commit
a9a1ff68ab
1 changed files with 16 additions and 5 deletions
|
@ -26,11 +26,13 @@
|
|||
<tbody>
|
||||
<tr><ng-container *ngTemplateOutlet="balanceRow"></ng-container></tr>
|
||||
<tr><ng-container *ngTemplateOutlet="pendingBalanceRow"></ng-container></tr>
|
||||
<tr><ng-container *ngTemplateOutlet="utxoRow"></ng-container></tr>
|
||||
<tr><ng-container *ngTemplateOutlet="pendingUtxoRow"></ng-container></tr>
|
||||
@if (!address.electrum) {
|
||||
<tr><ng-container *ngTemplateOutlet="utxoRow"></ng-container></tr>
|
||||
<tr><ng-container *ngTemplateOutlet="pendingUtxoRow"></ng-container></tr>
|
||||
}
|
||||
@if (network === 'liquid' || network === 'liquidtestnet') {
|
||||
<tr><ng-container *ngTemplateOutlet="liquidRow"></ng-container></tr>
|
||||
} @else {
|
||||
} @else if (!address.electrum) {
|
||||
<tr><ng-container *ngTemplateOutlet="volumeRow"></ng-container></tr>
|
||||
}
|
||||
<tr><ng-container *ngTemplateOutlet="typeRow"></ng-container></tr>
|
||||
|
@ -46,17 +48,21 @@
|
|||
<ng-container *ngTemplateOutlet="spacerCell"></ng-container>
|
||||
<ng-container *ngTemplateOutlet="pendingBalanceRow"></ng-container>
|
||||
</tr>
|
||||
@if (!address.electrum) {
|
||||
<tr>
|
||||
<ng-container *ngTemplateOutlet="utxoRow"></ng-container>
|
||||
<ng-container *ngTemplateOutlet="spacerCell"></ng-container>
|
||||
<ng-container *ngTemplateOutlet="pendingUtxoRow"></ng-container>
|
||||
</tr>
|
||||
}
|
||||
<tr>
|
||||
@if (network === 'liquid' || network === 'liquidtestnet') {
|
||||
<ng-container *ngTemplateOutlet="liquidRow"></ng-container>
|
||||
} @else {
|
||||
} @else if (!address.electrum) {
|
||||
<ng-container *ngTemplateOutlet="volumeRow"></ng-container>
|
||||
}
|
||||
} @else {
|
||||
<ng-container *ngTemplateOutlet="emptyTd"></ng-container>
|
||||
}
|
||||
<ng-container *ngTemplateOutlet="spacerCell"></ng-container>
|
||||
<ng-container *ngTemplateOutlet="typeRow"></ng-container>
|
||||
</tr>
|
||||
|
@ -232,6 +238,11 @@
|
|||
<td class="spacer"></td>
|
||||
</ng-template>
|
||||
|
||||
<ng-template #emptyTd>
|
||||
<td class="spacer"></td>
|
||||
<td class="spacer"></td>
|
||||
</ng-template>
|
||||
|
||||
<ng-template #balanceRow>
|
||||
<td i18n="address.confirmed-balance">Confirmed balance</td>
|
||||
<td *ngIf="chainStats.funded_txo_sum !== undefined; else confidentialTd" class="wrap-cell"><app-amount [satoshis]="chainStats.balance" [noFiat]="true"></app-amount> <span class="fiat"><app-fiat [value]="chainStats.balance"></app-fiat></span></td>
|
||||
|
|
Loading…
Add table
Reference in a new issue