make token transfers tab second

pull/2825/head
Ayrat Badykov 5 years ago
parent 6f5ba5577e
commit 6aea425975
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 12
      apps/block_scout_web/lib/block_scout_web/templates/address/_tabs.html.eex

@ -4,6 +4,12 @@
class: "card-tab #{tab_status("transactions", @conn.request_path)}", class: "card-tab #{tab_status("transactions", @conn.request_path)}",
to: address_transaction_path(@conn, :index, @address.hash) to: address_transaction_path(@conn, :index, @address.hash)
) %> ) %>
<%= link(
gettext("Token Transfers"),
class: "card-tab #{tab_status("token_transfers", @conn.request_path)}",
"data-test": "token_transfers_tab_link",
to: address_token_transfers_path(@conn, :index, @address.hash)
) %>
<%= link( <%= link(
gettext("Tokens"), gettext("Tokens"),
class: "card-tab #{tab_status("tokens", @conn.request_path)}", class: "card-tab #{tab_status("tokens", @conn.request_path)}",
@ -16,12 +22,6 @@
"data-test": "internal_transactions_tab_link", "data-test": "internal_transactions_tab_link",
to: address_internal_transaction_path(@conn, :index, @address.hash) to: address_internal_transaction_path(@conn, :index, @address.hash)
) %> ) %>
<%= link(
gettext("Token Transfers"),
class: "card-tab #{tab_status("token_transfers", @conn.request_path)}",
"data-test": "token_transfers_tab_link",
to: address_token_transfers_path(@conn, :index, @address.hash)
) %>
<%= link( <%= link(
gettext("Coin Balance History"), gettext("Coin Balance History"),
class: "card-tab #{tab_status("coin_balances", @conn.request_path)}", class: "card-tab #{tab_status("coin_balances", @conn.request_path)}",

Loading…
Cancel
Save