mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #7863 from JDonadio/ref/history-amount-color
[V4] amount color
This commit is contained in:
commit
420bab4bdb
|
@ -147,7 +147,7 @@
|
|||
<div class="action" *ngIf="tx.confirmations == 0 && tx.action == 'received'">{{'Receiving' | translate}}</div>
|
||||
<div class="action" *ngIf="tx.confirmations > 0">{{tx.action}}</div>
|
||||
<ion-note item-end>
|
||||
<div class="amount">{{tx.amount | satToUnit: wallet.coin}}</div>
|
||||
<div class="amount" [ngClass]="{'received': tx.action == 'received'}">{{tx.amount | satToUnit: wallet.coin}}</div>
|
||||
<div class="date">
|
||||
<span *ngIf="tx.time && createdWithinPastDay(tx.time * 1000)">{{tx.time * 1000 | amTimeAgo}}</span>
|
||||
<span *ngIf="tx.time && !createdWithinPastDay(tx.time * 1000)">{{tx.time * 1000 | amDateFormat:'MMM D, YYYY'}}</span>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
page-wallet-details {
|
||||
.received {
|
||||
color: color($colors, primary) !important;
|
||||
}
|
||||
.balance-card {
|
||||
background: color($colors, primary);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue