diff options
Diffstat (limited to 'components/HistoryTableMobile.qml')
| -rw-r--r-- | components/HistoryTableMobile.qml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/components/HistoryTableMobile.qml b/components/HistoryTableMobile.qml index d3f39bf9..3b1dc31c 100644 --- a/components/HistoryTableMobile.qml +++ b/components/HistoryTableMobile.qml @@ -38,7 +38,7 @@ ListView { property var previousItem property var addressBookModel: null - function buildTxDetailsString(tx_id, paymentId, tx_key,tx_note, destinations) { + function buildTxDetailsString(tx_id, paymentId, tx_key,tx_note, destinations, rings) { var trStart = '<tr><td width="85" style="padding-top:5px"><b>', trMiddle = '</b></td><td style="padding-left:10px;padding-top:5px;">', trEnd = "</td></tr>"; @@ -49,6 +49,7 @@ ListView { + (tx_key ? trStart + qsTr("Tx key:") + trMiddle + tx_key + trEnd : "") + (tx_note ? trStart + qsTr("Tx note:") + trMiddle + tx_note + trEnd : "") + (destinations ? trStart + qsTr("Destinations:") + trMiddle + destinations + trEnd : "") + + (rings ? trStart + qsTr("Rings:") + trMiddle + rings + trEnd : "") + "</table>" + translationManager.emptyString; } @@ -91,9 +92,11 @@ ListView { onClicked: { var tx_key = currentWallet.getTxKey(hash) var tx_note = currentWallet.getUserNote(hash) - + var rings = currentWallet.getRings(hash) + if (rings) + rings = rings.replace(/\|/g, '\n') informationPopup.title = "Transaction details"; - informationPopup.text = buildTxDetailsString(hash,paymentId,tx_key,tx_note,destinations); + informationPopup.text = buildTxDetailsString(hash,paymentId,tx_key,tx_note,destinations, rings); informationPopup.open(); informationPopup.onCloseCallback = null } |
