|
|
|
@ -22,18 +22,18 @@ |
|
|
|
|
<%= if address_name = primary_name(@address) do %> |
|
|
|
|
<strong class="mr-4 mb-2 text-primary"><%= address_name %></strong> |
|
|
|
|
<% end %> |
|
|
|
|
<span class="mb-2"> |
|
|
|
|
<span class="mr-4 mb-2"> |
|
|
|
|
<span data-selector="transaction-count"><%= Cldr.Number.to_string!(@transaction_count, format: "#,###") %></span> |
|
|
|
|
|
|
|
|
|
<%= gettext "Transactions" %> |
|
|
|
|
</span> |
|
|
|
|
<%= if @address.token do %> |
|
|
|
|
<span class="mb-2"> |
|
|
|
|
<span class="mr-4 mb-2"> |
|
|
|
|
<%= link(token_title(@address.token), to: token_path(@conn, :show, @address.hash), "data-test": "token_hash_link" ) %> |
|
|
|
|
</span> |
|
|
|
|
<% end %> |
|
|
|
|
<%= if contract?(@address) do %> |
|
|
|
|
<span class="ml-lg-4" data-test="address_contract_creator"> |
|
|
|
|
<span data-test="address_contract_creator"> |
|
|
|
|
<%= gettext "Contract created by" %> |
|
|
|
|
<%= link( |
|
|
|
|
trimmed_hash(@address.contracts_creation_internal_transaction.from_address_hash), |
|
|
|
|