aboutsummaryrefslogtreecommitdiffstats
path: root/old-ui
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-03-14 08:47:08 +0800
committerDan <danjm.com@gmail.com>2018-03-14 08:47:08 +0800
commitbf3c5add08baf905a4fd723fdc2b5c59342cc597 (patch)
tree7f95891bb9e10851c4bb96f495e4a600a8c46166 /old-ui
parent80a2e59194d3c5e5dc5fa098a5c022ae5dc30848 (diff)
downloadtangerine-wallet-browser-bf3c5add08baf905a4fd723fdc2b5c59342cc597.tar
tangerine-wallet-browser-bf3c5add08baf905a4fd723fdc2b5c59342cc597.tar.gz
tangerine-wallet-browser-bf3c5add08baf905a4fd723fdc2b5c59342cc597.tar.bz2
tangerine-wallet-browser-bf3c5add08baf905a4fd723fdc2b5c59342cc597.tar.lz
tangerine-wallet-browser-bf3c5add08baf905a4fd723fdc2b5c59342cc597.tar.xz
tangerine-wallet-browser-bf3c5add08baf905a4fd723fdc2b5c59342cc597.tar.zst
tangerine-wallet-browser-bf3c5add08baf905a4fd723fdc2b5c59342cc597.zip
Adds styles for dropped txs in old-ui.
Diffstat (limited to 'old-ui')
-rw-r--r--old-ui/app/components/transaction-list-item.js5
-rw-r--r--old-ui/app/css/index.css4
2 files changed, 9 insertions, 0 deletions
diff --git a/old-ui/app/components/transaction-list-item.js b/old-ui/app/components/transaction-list-item.js
index 61db8b350..7ab3414e5 100644
--- a/old-ui/app/components/transaction-list-item.js
+++ b/old-ui/app/components/transaction-list-item.js
@@ -208,6 +208,11 @@ function formatDate (date) {
function renderErrorOrWarning (transaction) {
const { status, err, warning } = transaction
+ // show dropped
+ if (status === 'dropped') {
+ return h('span.dropped', ' (Dropped)')
+ }
+
// show rejected
if (status === 'rejected') {
return h('span.error', ' (Rejected)')
diff --git a/old-ui/app/css/index.css b/old-ui/app/css/index.css
index 67c327f62..7af713336 100644
--- a/old-ui/app/css/index.css
+++ b/old-ui/app/css/index.css
@@ -247,6 +247,10 @@ app sections
color: #FFAE00;
}
+.dropped {
+ color: #6195ED;
+}
+
.lock {
width: 50px;
height: 50px;