From d8072c1d7834dfad2598a370dbdd036797f6b30f Mon Sep 17 00:00:00 2001 From: Dan Janosik Date: Tue, 12 Jun 2018 16:02:19 +0100 Subject: [PATCH] use template --- views/mempool-summary.pug | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/views/mempool-summary.pug b/views/mempool-summary.pug index 9623345..ae8fdef 100644 --- a/views/mempool-summary.pug +++ b/views/mempool-summary.pug @@ -23,12 +23,10 @@ block content span(class="text-muted") (virtual size: #{utils.formatBytes(getmempoolinfo.bytes)}) tr th(class="table-active properties-header") Total Fees - td(class="monospace") #{utils.formatCurrencyAmount(mempoolstats["totalFees"], currencyFormatType)} - if (global.exchangeRate) - span - span(data-toggle="tooltip", title=utils.formatExchangedCurrency(mempoolstats["totalFees"])) - i(class="fas fa-exchange-alt") - + td(class="monospace") + - var currencyValue = mempoolstats["totalFees"]; + include includes/value-display.pug + if (getmempoolinfo.size > 0) tr th(class="table-active properties-header") Average Fee