|
|
@ -161,6 +161,7 @@ |
|
|
|
<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 %> |
|
|
|
|
|
|
|
<%= if !is_nil(@block.total_difficulty) do %> |
|
|
|
<!-- Total Difficulty --> |
|
|
|
<!-- Total Difficulty --> |
|
|
|
<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"> |
|
|
@ -170,6 +171,7 @@ |
|
|
|
</dt> |
|
|
|
</dt> |
|
|
|
<dd class="col-sm-9 col-lg-10"><%= @block.total_difficulty |> Decimal.to_integer() |> BlockScoutWeb.Cldr.Number.to_string! %></dd> |
|
|
|
<dd class="col-sm-9 col-lg-10"><%= @block.total_difficulty |> Decimal.to_integer() |> BlockScoutWeb.Cldr.Number.to_string! %></dd> |
|
|
|
</dl> |
|
|
|
</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"> |
|
|
|