remove outer tables for decoded data

pull/2413/head
Ayrat Badykov 5 years ago
parent 0fd775f371
commit a3f93167a1
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 10
      apps/block_scout_web/lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex
  2. 4
      apps/block_scout_web/lib/block_scout_web/templates/transaction_log/_logs.html.eex
  3. 36
      apps/block_scout_web/priv/gettext/default.pot
  4. 42
      apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po

@ -1,4 +1,5 @@
<table summary="<%= gettext "Transaction Info" %>" class="table thead-light table-bordered table-responsive transaction-info-table"> <div class="table-responsive text-center">
<table style="color: black;" summary="<%= gettext "Transaction Inputs" %>" class="table thead-light table-bordered">
<tr> <tr>
<td><%= gettext "Method Id" %></td> <td><%= gettext "Method Id" %></td>
<td colspan="3"><code>0x<%= @method_id %></code></td> <td colspan="3"><code>0x<%= @method_id %></code></td>
@ -7,10 +8,12 @@
<td>Call</td> <td>Call</td>
<td colspan="3"><code><%= @text %></code></td> <td colspan="3"><code><%= @text %></code></td>
</tr> </tr>
</table> </table>
</div>
<%= unless Enum.empty?(@mapping) do %> <%= unless Enum.empty?(@mapping) do %>
<table summary="<%= gettext "Transaction Inputs" %>" class="table thead-light table-bordered table-responsive"> <div class="table-responsive text-center">
<table style="color: black;" summary="<%= gettext "Transaction Inputs" %>" class="table thead-light table-bordered">
<tr> <tr>
<th scope="col"></th> <th scope="col"></th>
<th scope="col"><%= gettext "Name" %></th> <th scope="col"><%= gettext "Name" %></th>
@ -52,4 +55,5 @@
</tr> </tr>
<% end %> <% end %>
</table> </table>
</div>
<% end %> <% end %>

@ -39,7 +39,8 @@
<td colspan="3"><code><%= text %></code></td> <td colspan="3"><code><%= text %></code></td>
</tr> </tr>
</table> </table>
<table style="color: black;" summary="<%= gettext "Log Data" %>" class="table thead-light table-bordered table-responsive"> <div class="table-responsive text-center">
<table style="color: black;" summary="<%= gettext "Log Data" %>" class="table thead-light table-bordered">
<tr> <tr>
<th scope="col"></th> <th scope="col"></th>
<th scope="col"><%= gettext "Name" %></th> <th scope="col"><%= gettext "Name" %></th>
@ -76,6 +77,7 @@
</tr> </tr>
<% end %> <% end %>
</table> </table>
</div>
<% _ -> %> <% _ -> %>
<%= nil %> <%= nil %>
<% end %> <% end %>

@ -330,9 +330,9 @@ msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/address_logs/_logs.html.eex:44 #: lib/block_scout_web/templates/address_logs/_logs.html.eex:44
#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:18 #: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:21
#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:48 #: lib/block_scout_web/templates/transaction_log/_logs.html.eex:49
#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:113 #: lib/block_scout_web/templates/transaction_log/_logs.html.eex:115
msgid "Data" msgid "Data"
msgstr "" msgstr ""
@ -556,8 +556,8 @@ msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:52 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:52
#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:16 #: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:19
#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:45 #: lib/block_scout_web/templates/transaction_log/_logs.html.eex:46
msgid "Name" msgid "Name"
msgstr "" msgstr ""
@ -827,7 +827,7 @@ msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/address_logs/_logs.html.eex:14 #: lib/block_scout_web/templates/address_logs/_logs.html.eex:14
#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:83 #: lib/block_scout_web/templates/transaction_log/_logs.html.eex:85
msgid "Topics" msgid "Topics"
msgstr "" msgstr ""
@ -1139,18 +1139,18 @@ msgid "Decoded"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:47 #: lib/block_scout_web/templates/transaction_log/_logs.html.eex:48
msgid "Indexed?" msgid "Indexed?"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:17 #: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:20
#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:46 #: lib/block_scout_web/templates/transaction_log/_logs.html.eex:47
msgid "Type" msgid "Type"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:3 #: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:4
msgid "Method Id" msgid "Method Id"
msgstr "" msgstr ""
@ -1160,12 +1160,8 @@ msgid "To see decoded input data, the contract must be verified."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:1 #: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:2
msgid "Transaction Info" #: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:16
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:13
msgid "Transaction Inputs" msgid "Transaction Inputs"
msgstr "" msgstr ""
@ -1187,13 +1183,13 @@ msgid "Failed to decode input data."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:46 #: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:49
msgid "Error rendering value" msgid "Error rendering value"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:28 #: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:31
#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:58 #: lib/block_scout_web/templates/transaction_log/_logs.html.eex:59
msgid "Copy Value" msgid "Copy Value"
msgstr "" msgstr ""
@ -1203,7 +1199,7 @@ msgid "Failed to decode log data."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:42 #: lib/block_scout_web/templates/transaction_log/_logs.html.eex:43
msgid "Log Data" msgid "Log Data"
msgstr "" msgstr ""

@ -34,7 +34,7 @@ msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/block/overview.html.eex:21 #: lib/block_scout_web/templates/block/overview.html.eex:21
#: lib/block_scout_web/templates/chain/_block.html.eex:11 #: lib/block_scout_web/templates/chain/_block.html.eex:178
msgid "%{count} Transactions" msgid "%{count} Transactions"
msgstr "" msgstr ""
@ -330,9 +330,9 @@ msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/address_logs/_logs.html.eex:44 #: lib/block_scout_web/templates/address_logs/_logs.html.eex:44
#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:18 #: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:21
#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:48 #: lib/block_scout_web/templates/transaction_log/_logs.html.eex:49
#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:113 #: lib/block_scout_web/templates/transaction_log/_logs.html.eex:115
msgid "Data" msgid "Data"
msgstr "" msgstr ""
@ -522,7 +522,7 @@ msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/block/_tile.html.eex:38 #: lib/block_scout_web/templates/block/_tile.html.eex:38
#: lib/block_scout_web/templates/block/overview.html.eex:121 #: lib/block_scout_web/templates/block/overview.html.eex:121
#: lib/block_scout_web/templates/chain/_block.html.eex:15 #: lib/block_scout_web/templates/chain/_block.html.eex:182
msgid "Miner" msgid "Miner"
msgstr "" msgstr ""
@ -556,8 +556,8 @@ msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:52 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:52
#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:16 #: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:19
#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:45 #: lib/block_scout_web/templates/transaction_log/_logs.html.eex:46
msgid "Name" msgid "Name"
msgstr "" msgstr ""
@ -827,7 +827,7 @@ msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/address_logs/_logs.html.eex:14 #: lib/block_scout_web/templates/address_logs/_logs.html.eex:14
#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:83 #: lib/block_scout_web/templates/transaction_log/_logs.html.eex:85
msgid "Topics" msgid "Topics"
msgstr "" msgstr ""
@ -1040,7 +1040,7 @@ msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/block/_tile.html.eex:47 #: lib/block_scout_web/templates/block/_tile.html.eex:47
#: lib/block_scout_web/templates/chain/_block.html.eex:23 #: lib/block_scout_web/templates/chain/_block.html.eex:190
#: lib/block_scout_web/views/internal_transaction_view.ex:27 #: lib/block_scout_web/views/internal_transaction_view.ex:27
msgid "Reward" msgid "Reward"
msgstr "" msgstr ""
@ -1139,18 +1139,18 @@ msgid "Decoded"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:47 #: lib/block_scout_web/templates/transaction_log/_logs.html.eex:48
msgid "Indexed?" msgid "Indexed?"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:17 #: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:20
#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:46 #: lib/block_scout_web/templates/transaction_log/_logs.html.eex:47
msgid "Type" msgid "Type"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:3 #: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:4
msgid "Method Id" msgid "Method Id"
msgstr "" msgstr ""
@ -1160,12 +1160,8 @@ msgid "To see decoded input data, the contract must be verified."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:1 #: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:2
msgid "Transaction Info" #: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:16
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:13
msgid "Transaction Inputs" msgid "Transaction Inputs"
msgstr "" msgstr ""
@ -1187,13 +1183,13 @@ msgid "Failed to decode input data."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:46 #: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:49
msgid "Error rendering value" msgid "Error rendering value"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:28 #: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:31
#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:58 #: lib/block_scout_web/templates/transaction_log/_logs.html.eex:59
msgid "Copy Value" msgid "Copy Value"
msgstr "" msgstr ""
@ -1203,7 +1199,7 @@ msgid "Failed to decode log data."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:42 #: lib/block_scout_web/templates/transaction_log/_logs.html.eex:43
msgid "Log Data" msgid "Log Data"
msgstr "" msgstr ""

Loading…
Cancel
Save