Romanz support for address page

This commit is contained in:
softsimon 2024-06-24 16:25:29 +09:00
parent dfc61f3991
commit a9a1ff68ab
No known key found for this signature in database
GPG key ID: 488D7DCFB5A430D7

View file

@ -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>