Replace smart contract with address icon

Since we do not have smart contract icons hooked up yet I replaced with address card icon for the
merge. I think we already have a card about hooking the icons up
pull/199/head
katibest 7 years ago committed by jimmay5469
parent 0f2f1723bc
commit 040b8c62af
  1. 2
      apps/explorer_web/lib/explorer_web/templates/address/_link.html.eex

@ -1,11 +1,11 @@
<div class="address-link">
<%= if @address do %>
<i class="address-link__type fas fa-file"></i>
<%= link to: address_path(@conn, :show, @conn.assigns.locale, @address),
"data-toggle": "tooltip",
"data-placement": "top",
class: "address-link__font",
title: @address do %>
<i class="address-link__type fas fa-address-card"></i>
<%= @address |> hash |> String.slice(0..3) %><i class="fas fa-ellipsis-v address-link__seperator"></i><%= @address |> hash |> String.slice(-4..-1) %>
<% end %>
<button class="address-link__copy-button" data-clipboard-text="<%= @address %>" aria-label="copy address">

Loading…
Cancel
Save