|
|
@ -47,15 +47,13 @@ |
|
|
|
text: gettext("Unique character string (TxID) assigned to every verified transaction.") %> |
|
|
|
text: gettext("Unique character string (TxID) assigned to every verified transaction.") %> |
|
|
|
<%= gettext "Transaction Hash" %> |
|
|
|
<%= gettext "Transaction Hash" %> |
|
|
|
</dt> |
|
|
|
</dt> |
|
|
|
<dd class="col-sm-9 col-lg-10 d-flex" style="word-break: break-all;"> |
|
|
|
<dd class="col-sm-9 col-lg-10" style="word-break: break-all;"> |
|
|
|
<span class="transaction-details-address" data-test="transaction_detail_hash"><%= @transaction %> </span> |
|
|
|
<span class="transaction-details-address" data-test="transaction_detail_hash"><%= @transaction %> </span> |
|
|
|
<span> |
|
|
|
|
|
|
|
<%= render BlockScoutWeb.CommonComponentsView, "_btn_copy.html", |
|
|
|
<%= render BlockScoutWeb.CommonComponentsView, "_btn_copy.html", |
|
|
|
additional_classes: ["btn-copy-icon-small", "btn-copy-icon-custom", "btn-copy-icon-no-borders"], |
|
|
|
additional_classes: ["btn-copy-icon-small", "btn-copy-icon-custom", "btn-copy-icon-no-borders"], |
|
|
|
clipboard_text: @transaction, |
|
|
|
clipboard_text: @transaction, |
|
|
|
aria_label: gettext("Copy Transaction Hash"), |
|
|
|
aria_label: gettext("Copy Transaction Hash"), |
|
|
|
title: gettext("Copy Txn Hash") %> |
|
|
|
title: gettext("Copy Txn Hash") %> |
|
|
|
</span> |
|
|
|
|
|
|
|
</dd> |
|
|
|
</dd> |
|
|
|
</dl> |
|
|
|
</dl> |
|
|
|
<!-- Verify in other explorers --> |
|
|
|
<!-- Verify in other explorers --> |
|
|
@ -156,18 +154,16 @@ |
|
|
|
<%= render BlockScoutWeb.CommonComponentsView, "_i_tooltip_2.html", |
|
|
|
<%= render BlockScoutWeb.CommonComponentsView, "_i_tooltip_2.html", |
|
|
|
text: gettext("Address (external or contract) sending the transaction.") %> |
|
|
|
text: gettext("Address (external or contract) sending the transaction.") %> |
|
|
|
<%= gettext "From" %></dt> |
|
|
|
<%= gettext "From" %></dt> |
|
|
|
<dd class="col-sm-9 col-lg-10 btn-copy-mobile-container"> |
|
|
|
<dd class="col-sm-9 col-lg-10"> |
|
|
|
<%= link( |
|
|
|
<%= link( |
|
|
|
from_address_hash, |
|
|
|
from_address_hash, |
|
|
|
to: address_path(@conn, :show, from_address_hash) |
|
|
|
to: address_path(@conn, :show, from_address_hash) |
|
|
|
) %> |
|
|
|
) %> |
|
|
|
<span class="float-right"> |
|
|
|
<%= render BlockScoutWeb.CommonComponentsView, "_btn_copy.html", |
|
|
|
<%= render BlockScoutWeb.CommonComponentsView, "_btn_copy.html", |
|
|
|
additional_classes: ["btn-copy-icon-small", "btn-copy-icon-custom", "btn-copy-icon-no-borders"], |
|
|
|
additional_classes: ["btn-copy-icon-small", "btn-copy-icon-custom", "btn-copy-icon-no-borders"], |
|
|
|
clipboard_text: from_address_hash, |
|
|
|
clipboard_text: from_address_hash, |
|
|
|
aria_label: gettext("Copy From Address"), |
|
|
|
aria_label: gettext("Copy From Address"), |
|
|
|
title: gettext("Copy From Address") %> |
|
|
|
title: gettext("Copy From Address") %> |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
</dd> |
|
|
|
</dd> |
|
|
|
</dl> |
|
|
|
</dl> |
|
|
|
<!-- To --> |
|
|
|
<!-- To --> |
|
|
@ -183,7 +179,7 @@ |
|
|
|
<%= gettext "To" %> |
|
|
|
<%= gettext "To" %> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
</dt> |
|
|
|
</dt> |
|
|
|
<dd class="col-sm-9 col-lg-10 btn-copy-mobile-container"> |
|
|
|
<dd class="col-sm-9 col-lg-10"> |
|
|
|
<%= cond do %> |
|
|
|
<%= cond do %> |
|
|
|
<% created_address_hash -> %> |
|
|
|
<% created_address_hash -> %> |
|
|
|
[<%= gettext("Contract") %> |
|
|
|
[<%= gettext("Contract") %> |
|
|
@ -192,27 +188,21 @@ |
|
|
|
to: address_path(@conn, :show, recipient_address_hash) |
|
|
|
to: address_path(@conn, :show, recipient_address_hash) |
|
|
|
) %> |
|
|
|
) %> |
|
|
|
<%= gettext("created") %>] |
|
|
|
<%= gettext("created") %>] |
|
|
|
|
|
|
|
<%= render BlockScoutWeb.CommonComponentsView, "_btn_copy.html", |
|
|
|
<span class="float-right"> |
|
|
|
additional_classes: ["btn-copy-icon-small", "btn-copy-icon-custom", "btn-copy-icon-no-borders"], |
|
|
|
<%= render BlockScoutWeb.CommonComponentsView, "_btn_copy.html", |
|
|
|
clipboard_text: recipient_address_hash, |
|
|
|
additional_classes: ["btn-copy-icon-small", "btn-copy-icon-custom", "btn-copy-icon-no-borders"], |
|
|
|
aria_label: gettext("Copy To Address"), |
|
|
|
clipboard_text: recipient_address_hash, |
|
|
|
title: gettext("Copy To Address") %> |
|
|
|
aria_label: gettext("Copy To Address"), |
|
|
|
|
|
|
|
title: gettext("Copy To Address") %> |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
<% recipient_address_hash -> %> |
|
|
|
<% recipient_address_hash -> %> |
|
|
|
<%= link( |
|
|
|
<%= link( |
|
|
|
recipient_address_hash, |
|
|
|
recipient_address_hash, |
|
|
|
to: address_path(@conn, :show, recipient_address_hash) |
|
|
|
to: address_path(@conn, :show, recipient_address_hash) |
|
|
|
) %> |
|
|
|
) %> |
|
|
|
|
|
|
|
<%= render BlockScoutWeb.CommonComponentsView, "_btn_copy.html", |
|
|
|
<span class="float-right"> |
|
|
|
additional_classes: ["btn-copy-icon-small", "btn-copy-icon-custom", "btn-copy-icon-no-borders"], |
|
|
|
<%= render BlockScoutWeb.CommonComponentsView, "_btn_copy.html", |
|
|
|
clipboard_text: recipient_address_hash, |
|
|
|
additional_classes: ["btn-copy-icon-small", "btn-copy-icon-custom", "btn-copy-icon-no-borders"], |
|
|
|
aria_label: gettext("Copy To Address"), |
|
|
|
clipboard_text: recipient_address_hash, |
|
|
|
title: gettext("Copy To Address") %> |
|
|
|
aria_label: gettext("Copy To Address"), |
|
|
|
|
|
|
|
title: gettext("Copy To Address") %> |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
<% true -> %> |
|
|
|
<% true -> %> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
</dd> |
|
|
|
</dd> |
|
|
|