From 360cac85f654c9069de9390bfd59984dce7fc235 Mon Sep 17 00:00:00 2001 From: Tomas Susanka Date: Fri, 4 Dec 2020 21:23:25 +0100 Subject: [PATCH] chore(static): show RBF in the transaction detail --- static/templates/tx.html | 12 ++++++++++++ static/templates/txdetail.html | 1 - 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/static/templates/tx.html b/static/templates/tx.html index 7257ebcb..3b0e7849 100644 --- a/static/templates/tx.html +++ b/static/templates/tx.html @@ -65,6 +65,18 @@ Fees {{formatAmount $tx.FeesSat}} {{$cs}} {{end -}} + {{- if $tx.Rbf}} + + RBF + + {{- if $tx.Rbf}} + ON + {{- else -}} + OFF️ + {{end -}} + + + {{end -}} diff --git a/static/templates/txdetail.html b/static/templates/txdetail.html index 08989a25..07ca9189 100644 --- a/static/templates/txdetail.html +++ b/static/templates/txdetail.html @@ -3,7 +3,6 @@
{{$tx.Txid}} - {{- if $tx.Rbf}} ⚠️{{end -}}
{{- if $tx.Blocktime}}
{{if $tx.Confirmations}}mined{{else}}first seen{{end}} {{formatUnixTime $tx.Blocktime}}
{{end -}}