Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Display reflexive transaction in gray with circle arrow #236
Browse files Browse the repository at this point in the history
  • Loading branch information
slaweet committed May 19, 2017
1 parent 62034bb commit 0558e5e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/components/transactions/transactions.less
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ transactions {
color: #333;
}

&.fee {
&.fee,
&.neutral {
background-color: #eee;
color: #555;
font-weight: normal;
Expand Down
5 changes: 3 additions & 2 deletions src/components/transactions/transactions.pug
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ md-card.offline-hide
i.material-icons.expanding-button(ng-if='transaction.senderId !== $ctrl.account.get().address', data-show-transfer-modal, data-recipient-id='transaction.senderId') arrow_forward
i.material-icons.expanding-button(ng-if='transaction.senderId === $ctrl.account.get().address', data-show-transfer-modal, data-recipient-id='transaction.recipientId') arrow_forward
td(md-cell)
i.material-icons(ng-if='transaction.type === 0 && transaction.senderId === transaction.recipientId') replay
i.material-icons.in(ng-if='transaction.senderId !== $ctrl.account.get().address') call_received
i.material-icons.out(ng-if='transaction.senderId === $ctrl.account.get().address') call_made
i.material-icons.out(ng-if='transaction.type !== 0 || transaction.recipientId !== $ctrl.account.get().address') call_made
td(md-cell)
.amount(ng-class='{ positive: transaction.senderId !== $ctrl.account.get().address, negative: transaction.senderId === $ctrl.account.get().address }')
.amount(ng-class='{ neutral:transaction.type === 0 && transaction.senderId === transaction.recipientId, positive: transaction.senderId !== $ctrl.account.get().address, negative: transaction.type !== 0 || transaction.recipientId !== $ctrl.account.get().address }')
lsk.value(amount='transaction.amount')
td(md-cell)
.fee
Expand Down

0 comments on commit 0558e5e

Please sign in to comment.