Tx tile mobile view fix

pull/4295/head
Viktor Baranov 3 years ago
parent 9b8432789f
commit e9072b0a64
  1. 1
      CHANGELOG.md
  2. 2
      apps/block_scout_web/lib/block_scout_web/templates/transaction/_tile.html.eex
  3. 12
      apps/block_scout_web/priv/gettext/default.pot
  4. 12
      apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po

@ -9,6 +9,7 @@
- [#4067](https://github.com/blockscout/blockscout/pull/4067) - Display LP tokens USD value and custom metadata in tokens dropdown at address page
### Fixes
- [#4295](https://github.com/blockscout/blockscout/pull/4295) - Mobile view fix: transaction tile tx hash overflow
- [#4294](https://github.com/blockscout/blockscout/pull/4294) - User wont be able to open verification pages for verified smart-contract
- [#4240](https://github.com/blockscout/blockscout/pull/4240) - `[]` is accepted in write contract page
- [#4236](https://github.com/blockscout/blockscout/pull/4236), [#4242](https://github.com/blockscout/blockscout/pull/4242) - Fix typo, constructor instead of contructor

@ -19,11 +19,13 @@
<!-- Content -->
<div class="col-md-7 col-lg-8 d-flex flex-column pr-2 pr-sm-2 pr-md-0">
<span>
<div class="text-truncate d-flex">
<%= render "_link.html", transaction_hash: @transaction.hash %>
<% method_name = Transaction.get_method_name(@transaction) %>
<%= if method_name do %>
<%= render BlockScoutWeb.FormView, "_tag.html", text: method_name, additional_classes: ["method", "ml-1"] %>
<% end %>
</div>
</span>
<span>
<%= @transaction |> BlockScoutWeb.AddressView.address_partial_selector(:from, assigns[:current_address]) |> BlockScoutWeb.RenderHelpers.render_partial() %>

@ -645,7 +645,7 @@ msgstr ""
#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:20
#: lib/block_scout_web/templates/layout/app.html.eex:33
#: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:20
#: lib/block_scout_web/templates/transaction/_tile.html.eex:35
#: lib/block_scout_web/templates/transaction/_tile.html.eex:37
#: lib/block_scout_web/templates/transaction/overview.html.eex:215
#: lib/block_scout_web/templates/transaction/overview.html.eex:268
#: lib/block_scout_web/views/wei_helpers.ex:78
@ -771,7 +771,7 @@ msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:38
#: lib/block_scout_web/templates/transaction/_tile.html.eex:78
#: lib/block_scout_web/templates/transaction/_tile.html.eex:80
msgid "IN"
msgstr ""
@ -789,7 +789,7 @@ msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:21
#: lib/block_scout_web/templates/transaction/_tile.html.eex:38
#: lib/block_scout_web/templates/transaction/_tile.html.eex:40
#: lib/block_scout_web/templates/transaction/overview.html.eex:118
msgid "TX Fee"
msgstr ""
@ -1113,7 +1113,7 @@ msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:36
#: lib/block_scout_web/templates/transaction/_tile.html.eex:74
#: lib/block_scout_web/templates/transaction/_tile.html.eex:76
msgid "OUT"
msgstr ""
@ -1623,12 +1623,12 @@ msgid "View Contract"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/_tile.html.eex:59
#: lib/block_scout_web/templates/transaction/_tile.html.eex:61
msgid "View Less Transfers"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/_tile.html.eex:58
#: lib/block_scout_web/templates/transaction/_tile.html.eex:60
msgid "View More Transfers"
msgstr ""

@ -645,7 +645,7 @@ msgstr ""
#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:20
#: lib/block_scout_web/templates/layout/app.html.eex:33
#: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:20
#: lib/block_scout_web/templates/transaction/_tile.html.eex:35
#: lib/block_scout_web/templates/transaction/_tile.html.eex:37
#: lib/block_scout_web/templates/transaction/overview.html.eex:215
#: lib/block_scout_web/templates/transaction/overview.html.eex:268
#: lib/block_scout_web/views/wei_helpers.ex:78
@ -771,7 +771,7 @@ msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:38
#: lib/block_scout_web/templates/transaction/_tile.html.eex:78
#: lib/block_scout_web/templates/transaction/_tile.html.eex:80
msgid "IN"
msgstr ""
@ -789,7 +789,7 @@ msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:21
#: lib/block_scout_web/templates/transaction/_tile.html.eex:38
#: lib/block_scout_web/templates/transaction/_tile.html.eex:40
#: lib/block_scout_web/templates/transaction/overview.html.eex:118
msgid "TX Fee"
msgstr ""
@ -1113,7 +1113,7 @@ msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:36
#: lib/block_scout_web/templates/transaction/_tile.html.eex:74
#: lib/block_scout_web/templates/transaction/_tile.html.eex:76
msgid "OUT"
msgstr ""
@ -1623,12 +1623,12 @@ msgid "View Contract"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/_tile.html.eex:59
#: lib/block_scout_web/templates/transaction/_tile.html.eex:61
msgid "View Less Transfers"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/_tile.html.eex:58
#: lib/block_scout_web/templates/transaction/_tile.html.eex:60
msgid "View More Transfers"
msgstr ""

Loading…
Cancel
Save