diff --git a/CHANGELOG.md b/CHANGELOG.md index e35cde4b86..258c379cb9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## Current ### Features +- [#4593](https://github.com/blockscout/blockscout/pull/4593) - Add status in `Position` pane for txs have no block - [#4579](https://github.com/blockscout/blockscout/pull/4579) - Write contract page: Resize inputs; Improve multiplier selector ### Fixes diff --git a/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex index 029894cdb6..7ec051a627 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex @@ -335,7 +335,7 @@ <% gas_used_perc = gas_used_perc(@transaction) %>
<%= gas_used(@transaction) %> <%= if gas_used_perc, do: "| #{gas_used_perc}%" %>
- +
<%= render BlockScoutWeb.CommonComponentsView, "_i_tooltip_2.html", @@ -344,7 +344,7 @@ data-toggle="tooltip" title="<%= gettext("Index position of Transaction in the block.") %>"><%= gettext "Position" %>
-
<%= @transaction.nonce %><%= @transaction.index %>
+
<%= @transaction.nonce %><%= if block, do: @transaction.index, else: formatted_result(status) %>
<%= unless value_transfer?(@transaction) do %>