multiline fee content

This commit is contained in:
JDonadio 2017-11-20 17:21:41 -03:00
parent 6eb585e3d1
commit e1d5711760
No known key found for this signature in database
GPG Key ID: EC1F4E04B2BFA730
1 changed files with 6 additions and 8 deletions

View File

@ -76,15 +76,13 @@
<button ion-item class="item item-icon-right" *ngIf="wallet && showFee" (click)="chooseFeeLevel(tx, wallet)">
<span class="label">{{'Fee:' | translate}} {{tx.feeLevelName | translate}}</span>
<span>{{tx.txp[wallet.id].fee || 0 | satToUnit}}</span>
<span>
<span>{{tx.txp[wallet.id].fee || 0 | satToFiat}}&nbsp;
<span class="fee-rate" *ngIf="tx.txp[wallet.id].feeRatePerStr"> &middot;
<ion-icon ios="ios-alert" md="md-alert" [hidden]="!tx.txp[wallet.id].feeToHigh"></ion-icon> &nbsp;
<span class="fee-rate" [ngClass]="{'warn':tx.txp[wallet.id].feeToHigh}" translate> {{tx.txp[wallet.id].feeRatePerStr}} of the sending amount </span>
</span>
</span>
<div>{{tx.txp[wallet.id].fee || 0 | satToUnit}}</div>
<span>{{tx.txp[wallet.id].fee || 0 | satToFiat}}&nbsp;
<span class="fee-rate" *ngIf="tx.txp[wallet.id].feeRatePerStr">
<ion-icon ios="ios-alert" md="md-alert" [hidden]="!tx.txp[wallet.id].feeToHigh"></ion-icon> &nbsp;
<span class="fee-rate" [ngClass]="{'warn':tx.txp[wallet.id].feeToHigh}" translate> {{tx.txp[wallet.id].feeRatePerStr}} of the transaction</span>
</span>
</span>
</button>
<button ion-item *ngIf="wallet" (click)="showDescriptionPopup(tx)">