mirror of https://github.com/BTCPrivate/copay.git
[V4] REF: remove cards from duplicate bitcoin cash view
This commit is contained in:
parent
19878d41de
commit
44792f1fdf
|
@ -9,43 +9,47 @@
|
|||
<span translate>No wallets eligible for Bitcoin Cash support</span>
|
||||
</div>
|
||||
|
||||
<ion-card *ngIf="availableWallets[0]">
|
||||
<ion-card-header>
|
||||
<div *ngIf="availableWallets[0]">
|
||||
<ion-item-divider>
|
||||
{{'BTC wallets' | translate}}
|
||||
</ion-card-header>
|
||||
</ion-item-divider>
|
||||
|
||||
<ion-item *ngFor="let wallet of availableWallets">
|
||||
<ion-icon item-start>
|
||||
<img [ngStyle]="{'background-color': wallet.color}" src="assets/img/icon-wallet.svg" class="icon-wallet" />
|
||||
</ion-icon>
|
||||
<h2>{{wallet.credentials.walletName}}</h2>
|
||||
<p>
|
||||
{{wallet.status && wallet.status.totalBalanceStr ? wallet.status.totalBalanceStr : wallet.cachedBalance}}
|
||||
</p>
|
||||
<ion-note item-end>
|
||||
<button ion-button (click)="duplicate(wallet)" translate>Duplicate</button>
|
||||
</ion-note>
|
||||
</ion-item>
|
||||
</ion-card>
|
||||
<ion-list>
|
||||
<ion-item *ngFor="let wallet of availableWallets">
|
||||
<ion-icon item-start>
|
||||
<img [ngStyle]="{'background-color': wallet.color}" src="assets/img/icon-wallet.svg" class="icon-wallet" />
|
||||
</ion-icon>
|
||||
<h2>{{wallet.credentials.walletName}}</h2>
|
||||
<p>
|
||||
{{wallet.status && wallet.status.totalBalanceStr ? wallet.status.totalBalanceStr : wallet.cachedBalance}}
|
||||
</p>
|
||||
<ion-note item-end>
|
||||
<button ion-button (click)="duplicate(wallet)" translate>Duplicate</button>
|
||||
</ion-note>
|
||||
</ion-item>
|
||||
</ion-list>
|
||||
</div>
|
||||
|
||||
<ion-card *ngIf="nonEligibleWallets[0]">
|
||||
<ion-card-header>
|
||||
<div *ngIf="nonEligibleWallets[0]">
|
||||
<ion-item-divider>
|
||||
<span translate>Non eligible BTC wallets</span>
|
||||
</ion-card-header>
|
||||
</ion-item-divider>
|
||||
|
||||
<ion-item *ngFor="let wallet of nonEligibleWallets">
|
||||
<ion-icon item-start>
|
||||
<img [ngStyle]="{'background-color': 'gray'}" src="assets/img/icon-wallet.svg" class="icon-wallet" />
|
||||
</ion-icon>
|
||||
<h2>{{wallet.credentials.walletName}}</h2>
|
||||
<p class="text-disabled">{{wallet.excludeReason}}</p>
|
||||
</ion-item>
|
||||
<ion-list>
|
||||
<ion-item *ngFor="let wallet of nonEligibleWallets">
|
||||
<ion-icon item-start>
|
||||
<img [ngStyle]="{'background-color': 'gray'}" src="assets/img/icon-wallet.svg" class="icon-wallet" />
|
||||
</ion-icon>
|
||||
<h2>{{wallet.credentials.walletName}}</h2>
|
||||
<p class="text-disabled">{{wallet.excludeReason}}</p>
|
||||
</ion-item>
|
||||
</ion-list>
|
||||
|
||||
<div padding>
|
||||
<ion-item-divider text-wrap>
|
||||
<span translate>Some of your wallets are not eligible for Bitcoin Cash support. You can try to access BCH funds from these wallets
|
||||
using the
|
||||
</span>
|
||||
<a (click)="openRecoveryToolLink()" translate>recovery tool.</a>
|
||||
</div>
|
||||
</ion-card>
|
||||
</ion-content>
|
||||
<a class="pointer" (click)="openRecoveryToolLink()" translate>recovery tool.</a>
|
||||
</ion-item-divider>
|
||||
</div>
|
||||
</ion-content>
|
Loading…
Reference in New Issue