Block number link in transaction panel

pull/346/head
katibest 7 years ago committed by jimmay5469
parent 09d0110fe0
commit 125cb96315
  1. 3
      apps/explorer_web/lib/explorer_web/templates/chain/_transactions.html.eex

@ -36,9 +36,8 @@
</div>
<div class="col-md-2 d-flex flex-column justify-content-end text-right">
<span data-from-now="<%= transaction.block.timestamp %>"></span>
Block #
<%= link(
transaction.block,
gettext("Block #") <> "#{transaction.block.number}",
to: block_path(@conn, :show, @conn.assigns.locale, transaction.block)
) %>
</div>

Loading…
Cancel
Save