Skip to content

Commit

Permalink
fix tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantamis committed Oct 2, 2021
1 parent 0d21a9f commit c55694c
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions views/includes/transaction-io-details.pug
Original file line number Diff line number Diff line change
Expand Up @@ -349,21 +349,21 @@ mixin outputValueDisplay(vout, voutIndex)
+darkBadge
span(title=`Output Type: ${utils.outputTypeName(vout.scriptPubKey.type)}`, data-bs-toggle="tooltip") #{utils.outputTypeAbbreviation(vout.scriptPubKey.type)}

if (spendings)
- var spending_vout = spendings[voutIndex];
if (spending_vout && spending_vout.spender_txhash)
span.mt-1 spent by
a(href=`./tx/${spending_vout.spender_txhash}`) #{utils.ellipsizeMiddle(spending_vout.spender_txhash,9)}
if (spending_vout.spender_height > 0 && spending_vout.spender_height > spending_vout.height)
span #{spending_vout.spender_height - spending_vout.height} blocks later
else if (spending_vout.spender_height <= 0)
span in the mempool
else
span in the same block

else if (utxos && utxos[voutIndex] == null)
span.mt-1 spent by
a(href=`./outpoint/${txid}-${voutIndex}`) this transaction
if (spendings)
- var spending_vout = spendings[voutIndex];
if (spending_vout && spending_vout.spender_txhash)
span.mt-1 spent by
a(href=`./tx/${spending_vout.spender_txhash}`) #{utils.ellipsizeMiddle(spending_vout.spender_txhash,9)}
if (spending_vout.spender_height > 0 && spending_vout.spender_height > spending_vout.height)
span #{spending_vout.spender_height - spending_vout.height} blocks later
else if (spending_vout.spender_height <= 0)
span in the mempool
else
span in the same block

else if (utxos && utxos[voutIndex] == null)
span.mt-1 spent by
a(href=`./outpoint/${txid}-${voutIndex}`) this transaction

span.ms-2.float-end
+outputValueDisplay(vout, voutIndex)
Expand Down

0 comments on commit c55694c

Please sign in to comment.