Merge pull request #4589 from blockscout/np-fix-solid-contract-outputs

Fix solid outputs on contract read page
pull/4520/head
Victor Baranov 3 years ago committed by GitHub
commit 84b57aa55d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG.md
  2. 5
      apps/block_scout_web/lib/block_scout_web/templates/smart_contract/_functions.html.eex
  3. 4
      apps/block_scout_web/priv/gettext/default.pot
  4. 4
      apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po

@ -5,6 +5,7 @@
### Fixes
- [#4591](https://github.com/blockscout/blockscout/pull/4591) - Add step and min value for txValue input field
- [#4589](https://github.com/blockscout/blockscout/pull/4589) - Fix solid outputs on contract read page
- [#4586](https://github.com/blockscout/blockscout/pull/4586) - Fix floating tooltips on the token transfer family blocks
- [#4587](https://github.com/blockscout/blockscout/pull/4587) - Enable navbar menu on Search results page
- [#4582](https://github.com/blockscout/blockscout/pull/4582) - Fix NaN input on write contract page

@ -107,12 +107,13 @@
</div>
<% else %>
<%= if outputs?(function["outputs"]) do %>
<%= for output <- function["outputs"] do %>
<% length = Enum.count(function["outputs"]) %>
<%= for {output, index} <- Enum.with_index(function["outputs"]) do %>
<%= if address?(output["type"]) do %>
<div class="py-2 word-break-all">
<%= link(
output["value"],
to: address_path(@conn, :show, output["value"])) %>
to: address_path(@conn, :show, output["value"])) %><%= if length > 1 and index < length - 1 do %>,&#160;<% end %>
</div>
<% else %>
<%= if output["type"] == "uint256" do %>

@ -1006,7 +1006,7 @@ msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:90
#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:90
#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:125
#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:126
msgid "ETH"
msgstr ""
@ -2841,7 +2841,7 @@ msgid "View transaction %{transaction} on %{subnetwork}"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:124
#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:125
msgid "WEI"
msgstr ""

@ -1006,7 +1006,7 @@ msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:90
#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:90
#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:125
#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:126
msgid "ETH"
msgstr ""
@ -2841,7 +2841,7 @@ msgid "View transaction %{transaction} on %{subnetwork}"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:124
#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:125
msgid "WEI"
msgstr ""

Loading…
Cancel
Save