Co-authored-by: Stamates <stamates@hotmail.com>pull/395/head
parent
04590a381d
commit
e984bcbeae
@ -1,4 +1,4 @@ |
|||||||
<span class="<%= if @contract do %>contract-address<% end %>"> |
<span class="<%= if @contract do %>contract-address<% end %>"> |
||||||
<span class="d-none d-md-none d-lg-inline"><%= @address_hash %></span> |
<span class="d-none d-md-none d-lg-inline"><%= @address_hash %></span> |
||||||
<span class="d-md-block d-lg-none "><%= @address_hash |> to_string() |> String.slice(0..5) %>–<%= @address_hash |> to_string() |> String.slice(-6..-1) %></span> |
<span class="d-md-block d-lg-none "><%= ExplorerWeb.AddressView.trimmed_hash(@address_hash) %></span> |
||||||
</span> |
</span> |
||||||
|
Loading…
Reference in new issue