Browse Source

tx page tweak: show block height only, not hash

master
Dan Janosik 5 years ago
parent
commit
b41fb30ce8
No known key found for this signature in database GPG Key ID: C6F8CE9FFDB2CED2
  1. 5
      views/transaction.pug

5
views/transaction.pug

@ -104,10 +104,7 @@ block content
div.row
div.summary-table-label Block
div.summary-table-content.text-monospace
a(href=("/block/" + result.getrawtransaction.blockhash)) #{result.getrawtransaction.blockhash}
if (result.getblock.height)
br
span (##{result.getblock.height.toLocaleString()})
a(href=("/block/" + result.getrawtransaction.blockhash)) ##{result.getblock.height.toLocaleString()}
if (isTxConfirmed)
div.row

Loading…
Cancel
Save