|
|
@ -161,15 +161,17 @@ |
|
|
|
<dd class="col-sm-9 col-lg-10"><%= @block.difficulty |> Decimal.to_integer() |> BlockScoutWeb.Cldr.Number.to_string! %></dd> |
|
|
|
<dd class="col-sm-9 col-lg-10"><%= @block.difficulty |> Decimal.to_integer() |> BlockScoutWeb.Cldr.Number.to_string! %></dd> |
|
|
|
</dl> |
|
|
|
</dl> |
|
|
|
<%= if block_type(@block) == "Block" do %> |
|
|
|
<%= if block_type(@block) == "Block" do %> |
|
|
|
<!-- Total Difficulty --> |
|
|
|
<%= if !is_nil(@block.total_difficulty) do %> |
|
|
|
<dl class="row"> |
|
|
|
<!-- Total Difficulty --> |
|
|
|
<dt class="col-sm-3 col-lg-2 text-muted"> |
|
|
|
<dl class="row"> |
|
|
|
<%= render BlockScoutWeb.CommonComponentsView, "_i_tooltip_2.html", |
|
|
|
<dt class="col-sm-3 col-lg-2 text-muted"> |
|
|
|
text: gettext("Total difficulty of the chain until this block.") %> |
|
|
|
<%= render BlockScoutWeb.CommonComponentsView, "_i_tooltip_2.html", |
|
|
|
<%= gettext("Total Difficulty") %> |
|
|
|
text: gettext("Total difficulty of the chain until this block.") %> |
|
|
|
</dt> |
|
|
|
<%= gettext("Total Difficulty") %> |
|
|
|
<dd class="col-sm-9 col-lg-10"><%= @block.total_difficulty |> Decimal.to_integer() |> BlockScoutWeb.Cldr.Number.to_string! %></dd> |
|
|
|
</dt> |
|
|
|
</dl> |
|
|
|
<dd class="col-sm-9 col-lg-10"><%= @block.total_difficulty |> Decimal.to_integer() |> BlockScoutWeb.Cldr.Number.to_string! %></dd> |
|
|
|
|
|
|
|
</dl> |
|
|
|
|
|
|
|
<% end %> |
|
|
|
<!-- Gas Used --> |
|
|
|
<!-- Gas Used --> |
|
|
|
<dl class="row"> |
|
|
|
<dl class="row"> |
|
|
|
<dt class="col-sm-3 col-lg-2 text-muted"> |
|
|
|
<dt class="col-sm-3 col-lg-2 text-muted"> |
|
|
|