Skip to content

Commit

Permalink
Merge pull request #123 from beregovoy68/master
Browse files Browse the repository at this point in the history
Added attachent to the full tx info on copy to clipboard
  • Loading branch information
beregovoy68 authored Feb 10, 2017
2 parents 92ebd03 + c06473b commit 4d6989f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/js/shared/transaction.menu.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,18 @@

function fullTransactionData () {
var recipient = hasRecipient() ? ctrl.transaction.recipient : ADDRESS_STUB;
var attachment = '';
if (ctrl.transaction.attachment)
attachment = ' | ATTACHMENT: ' + ctrl.transaction.attachment;

return 'TX ID: ' + ctrl.transaction.id +
' | TYPE: ' + ctrl.transaction.formatted.type +
' | DATE: ' + ctrl.transaction.formatted.datetime +
' | SENDER ADDRESS: ' + ctrl.transaction.sender +
' | TX AMOUNT: ' + ctrl.transaction.formatted.amount + ' ' + ctrl.transaction.formatted.asset +
' | RECIPIENT ADDRESS: ' + recipient +
' | TX FEE: ' + ctrl.transaction.formatted.fee;
' | TX FEE: ' + ctrl.transaction.formatted.fee +
attachment;
}
}

Expand Down

0 comments on commit 4d6989f

Please sign in to comment.