diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-03-07 00:01:53 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-03-26 20:57:33 +0100 |
| commit | 65ea07af612751ab0989a8e01d76bad7bc3c2869 (patch) | |
| tree | c3374ebcb154ebbab1e484aa65c4257fde760b3b /components/HistoryTable.qml | |
| parent | fdaf557b994cd206782a1e039c6455c8dcc850ab (diff) | |
| download | monzero-gui-65ea07af612751ab0989a8e01d76bad7bc3c2869.tar.gz monzero-gui-65ea07af612751ab0989a8e01d76bad7bc3c2869.tar.xz monzero-gui-65ea07af612751ab0989a8e01d76bad7bc3c2869.zip | |
Add a shared ringdb management page - rings and blackballed outputs
Diffstat (limited to 'components/HistoryTable.qml')
| -rw-r--r-- | components/HistoryTable.qml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/components/HistoryTable.qml b/components/HistoryTable.qml index b846865b..cac884ae 100644 --- a/components/HistoryTable.qml +++ b/components/HistoryTable.qml @@ -39,7 +39,7 @@ ListView { property int rowSpacing: 12 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>"; @@ -50,6 +50,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; } @@ -103,8 +104,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.content = buildTxDetailsString(hash,paymentId,tx_key,tx_note,destinations); + informationPopup.content = buildTxDetailsString(hash,paymentId,tx_key,tx_note,destinations, rings); informationPopup.onCloseCallback = null informationPopup.open(); } |
