aboutsummaryrefslogtreecommitdiff
path: root/components/HistoryTableMobile.qml
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-03-07 00:01:53 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-03-26 20:57:33 +0100
commit65ea07af612751ab0989a8e01d76bad7bc3c2869 (patch)
treec3374ebcb154ebbab1e484aa65c4257fde760b3b /components/HistoryTableMobile.qml
parentfdaf557b994cd206782a1e039c6455c8dcc850ab (diff)
downloadmonzero-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/HistoryTableMobile.qml')
-rw-r--r--components/HistoryTableMobile.qml9
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
}