diff options
Diffstat (limited to 'components')
| -rw-r--r-- | components/HistoryTable.qml | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/components/HistoryTable.qml b/components/HistoryTable.qml index ba956015..711bc289 100644 --- a/components/HistoryTable.qml +++ b/components/HistoryTable.qml @@ -263,9 +263,18 @@ ListView { //elide: Text.ElideRight font.family: "Arial" font.pixelSize: 13 - font.letterSpacing: -1 - color: "#545454" - text: (typeof blockHeight != "undefined")? blockHeight : qsTr("Pending") + translationManager.emptyString + color: (confirmations < 10)? "#FF6C3C" : "#545454" + text: { + if (!isPending) + if(confirmations < 10) + return blockHeight + " " + qsTr("(%1/10 confirmations)").arg(confirmations) + else + return blockHeight + if (!isOut) + return qsTr("UNCONFIRMED") + translationManager.emptyString + return qsTr("PENDING") + translationManager.emptyString + + } } } |
