@ -1,4 +1,4 @@
<div class="tile tile-type-<%= String.downcase(@block_type) %> fade-up" data-block-number="<%= to_string(@block.number) %>">
<div class="tile tile-type-<%= String.downcase(@block_type) %> fade-up" data-selector="block-tile" data- block-number="<%= to_string(@block.number) %>">
<div class="row">
<div class="row">
<div class="col-md-2 d-flex flex-row flex-md-column align-items-left justify-content-start justify-content-lg-center mb-1 mb-md-0 pl-md-4">
<div class="col-md-2 d-flex flex-row flex-md-column align-items-left justify-content-start justify-content-lg-center mb-1 mb-md-0 pl-md-4">
<span class="tile-label" data-test="transaction_type">
<span class="tile-label" data-test="transaction_type">
@ -12,16 +12,14 @@
@block,
@block,
class: "tile-title",
class: "tile-title",
to: block_path(BlockScoutWeb.Endpoint, :show, @block),
to: block_path(BlockScoutWeb.Endpoint, :show, @block),
"data-selector": "block-number",
"data-selector": "block-number"
"data-block-number": to_string(@block.number)
) %>
) %>
<% else %>
<% else %>
<%= link(
<%= link(
@block,
@block,
class: "tile-title",
class: "tile-title",
to: block_path(BlockScoutWeb.Endpoint, :show, @block.hash),
to: block_path(BlockScoutWeb.Endpoint, :show, @block.hash),
"data-selector": "block-number",
"data-selector": "block-number"
"data-block-number": to_string(@block.number)
) %>
) %>
<% end %>
<% end %>
<div>
<div>