diff --git a/CHANGELOG.md b/CHANGELOG.md index b7ed96c510..249721d94f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ ### Chore - [#1718](https://github.com/poanetwork/blockscout/pull/1718) - Flatten indexer module hierarchy and supervisor tree + - [#1753](https://github.com/poanetwork/blockscout/pull/1753) - Add a check mark to decompiled contract tab ## 1.3.9-beta diff --git a/apps/block_scout_web/lib/block_scout_web/templates/address/_tabs.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/address/_tabs.html.eex index f981f75ace..8c4a932b76 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/address/_tabs.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/address/_tabs.html.eex @@ -64,8 +64,9 @@ <%= link( to: address_decompiled_contract_path(@conn, :index, @address.hash), class: "nav-link #{tab_status("decompiled_contracts", @conn.request_path)}") do %> - <%= gettext("Decompiled code") %> - <% end %> + <%= gettext("Decompiled code") %> + + <% end %> <% end %> @@ -131,6 +132,7 @@ to: address_decompiled_contract_path(@conn, :index, @address.hash), class: "dropdown-item #{tab_status("contracts", @conn.request_path)}") do %> <%= gettext("Decompiled code") %> + <% end %> <% end %> <% end %> diff --git a/apps/block_scout_web/lib/block_scout_web/templates/address_decompiled_contract/index.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/address_decompiled_contract/index.html.eex index 64f364d9b2..59c74ed237 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/address_decompiled_contract/index.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/address_decompiled_contract/index.html.eex @@ -10,7 +10,7 @@

<%= gettext "Decompiler version" %>

-
<%= contract.decompiler_version %>
+
<%= contract.decompiler_version %>

diff --git a/apps/block_scout_web/priv/gettext/default.pot b/apps/block_scout_web/priv/gettext/default.pot index de44ce847b..d262b44dc6 100644 --- a/apps/block_scout_web/priv/gettext/default.pot +++ b/apps/block_scout_web/priv/gettext/default.pot @@ -189,7 +189,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/_tabs.html.eex:40 -#: lib/block_scout_web/templates/address/_tabs.html.eex:113 +#: lib/block_scout_web/templates/address/_tabs.html.eex:114 #: lib/block_scout_web/templates/address/overview.html.eex:59 #: lib/block_scout_web/templates/address_validation/index.html.eex:30 #: lib/block_scout_web/templates/address_validation/index.html.eex:57 @@ -219,7 +219,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/_tabs.html.eex:53 -#: lib/block_scout_web/templates/address/_tabs.html.eex:123 +#: lib/block_scout_web/templates/address/_tabs.html.eex:124 #: lib/block_scout_web/templates/address_validation/index.html.eex:39 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:119 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:141 @@ -489,7 +489,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/_tabs.html.eex:21 -#: lib/block_scout_web/templates/address/_tabs.html.eex:100 +#: lib/block_scout_web/templates/address/_tabs.html.eex:101 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:58 #: lib/block_scout_web/templates/address_validation/index.html.eex:24 #: lib/block_scout_web/templates/transaction/_tabs.html.eex:14 @@ -699,8 +699,8 @@ msgid "Query" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/_tabs.html.eex:75 -#: lib/block_scout_web/templates/address/_tabs.html.eex:140 +#: lib/block_scout_web/templates/address/_tabs.html.eex:76 +#: lib/block_scout_web/templates/address/_tabs.html.eex:142 #: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:33 #: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:75 #: lib/block_scout_web/views/address_view.ex:298 @@ -892,7 +892,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/_tabs.html.eex:13 -#: lib/block_scout_web/templates/address/_tabs.html.eex:95 +#: lib/block_scout_web/templates/address/_tabs.html.eex:96 #: lib/block_scout_web/templates/address_token/index.html.eex:11 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:12 #: lib/block_scout_web/templates/address_validation/index.html.eex:11 @@ -949,7 +949,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/_tabs.html.eex:5 -#: lib/block_scout_web/templates/address/_tabs.html.eex:90 +#: lib/block_scout_web/templates/address/_tabs.html.eex:91 #: lib/block_scout_web/templates/address_transaction/index.html.eex:53 #: lib/block_scout_web/templates/address_validation/index.html.eex:14 #: lib/block_scout_web/templates/block_transaction/index.html.eex:13 @@ -1390,7 +1390,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/_tabs.html.eex:30 -#: lib/block_scout_web/templates/address/_tabs.html.eex:106 +#: lib/block_scout_web/templates/address/_tabs.html.eex:107 #: lib/block_scout_web/views/address_view.ex:299 msgid "Coin Balance History" msgstr "" @@ -1705,7 +1705,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/_tabs.html.eex:67 -#: lib/block_scout_web/templates/address/_tabs.html.eex:133 +#: lib/block_scout_web/templates/address/_tabs.html.eex:134 msgid "Decompiled code" msgstr "" diff --git a/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po b/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po index b130fae322..3b3f557d75 100644 --- a/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po +++ b/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po @@ -189,7 +189,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/_tabs.html.eex:40 -#: lib/block_scout_web/templates/address/_tabs.html.eex:113 +#: lib/block_scout_web/templates/address/_tabs.html.eex:114 #: lib/block_scout_web/templates/address/overview.html.eex:59 #: lib/block_scout_web/templates/address_validation/index.html.eex:30 #: lib/block_scout_web/templates/address_validation/index.html.eex:57 @@ -219,7 +219,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/_tabs.html.eex:53 -#: lib/block_scout_web/templates/address/_tabs.html.eex:123 +#: lib/block_scout_web/templates/address/_tabs.html.eex:124 #: lib/block_scout_web/templates/address_validation/index.html.eex:39 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:119 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:141 @@ -489,7 +489,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/_tabs.html.eex:21 -#: lib/block_scout_web/templates/address/_tabs.html.eex:100 +#: lib/block_scout_web/templates/address/_tabs.html.eex:101 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:58 #: lib/block_scout_web/templates/address_validation/index.html.eex:24 #: lib/block_scout_web/templates/transaction/_tabs.html.eex:14 @@ -699,8 +699,8 @@ msgid "Query" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/_tabs.html.eex:75 -#: lib/block_scout_web/templates/address/_tabs.html.eex:140 +#: lib/block_scout_web/templates/address/_tabs.html.eex:76 +#: lib/block_scout_web/templates/address/_tabs.html.eex:142 #: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:33 #: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:75 #: lib/block_scout_web/views/address_view.ex:298 @@ -892,7 +892,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/_tabs.html.eex:13 -#: lib/block_scout_web/templates/address/_tabs.html.eex:95 +#: lib/block_scout_web/templates/address/_tabs.html.eex:96 #: lib/block_scout_web/templates/address_token/index.html.eex:11 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:12 #: lib/block_scout_web/templates/address_validation/index.html.eex:11 @@ -949,7 +949,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/_tabs.html.eex:5 -#: lib/block_scout_web/templates/address/_tabs.html.eex:90 +#: lib/block_scout_web/templates/address/_tabs.html.eex:91 #: lib/block_scout_web/templates/address_transaction/index.html.eex:53 #: lib/block_scout_web/templates/address_validation/index.html.eex:14 #: lib/block_scout_web/templates/block_transaction/index.html.eex:13 @@ -1390,7 +1390,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/_tabs.html.eex:30 -#: lib/block_scout_web/templates/address/_tabs.html.eex:106 +#: lib/block_scout_web/templates/address/_tabs.html.eex:107 #: lib/block_scout_web/views/address_view.ex:299 msgid "Coin Balance History" msgstr "" @@ -1705,7 +1705,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/_tabs.html.eex:67 -#: lib/block_scout_web/templates/address/_tabs.html.eex:133 +#: lib/block_scout_web/templates/address/_tabs.html.eex:134 msgid "Decompiled code" msgstr ""