Update CHANGELOG.md

Fix gettext and navbar spaces
pull/6324/head
sl1depengwyn 2 years ago
parent 9a24d5adf3
commit d932786d56
  1. 1
      CHANGELOG.md
  2. 22
      apps/block_scout_web/lib/block_scout_web/templates/layout/_topnav.html.eex
  3. 8
      apps/block_scout_web/lib/block_scout_web/templates/verified_contracts/_stats.html.eex

@ -2,6 +2,7 @@
### Features
- [#6324](https://github.com/blockscout/blockscout/pull/6324) - Add verified contracts list page
- [#6379](https://github.com/blockscout/blockscout/pull/6379) - API v2 for frontend
- [#6351](https://github.com/blockscout/blockscout/pull/6351) - Enable forum link env var
- [#6316](https://github.com/blockscout/blockscout/pull/6316) - Copy public tags functionality to master

@ -83,7 +83,7 @@
</span>
<%= gettext("Tokens") %>
</a>
<div class="dropdown-menu" aria-labeledby="navbarTransactionsDropdown">
<div class="dropdown-menu" aria-labeledby="navbarTransactionsDropdown">
<%= link(
gettext("All"),
class: "dropdown-item #{tab_status("tokens", @conn.request_path)}",
@ -105,7 +105,7 @@
</span>
<%= gettext("APIs") %>
</a>
<div class="dropdown-menu" aria-labeledby="navbarTransactionsDropdown">
<div class="dropdown-menu" aria-labeledby="navbarTransactionsDropdown">
<%= link(
gettext("GraphQL"),
class: "dropdown-item #{tab_status("graphiql", @conn.request_path)}",
@ -138,7 +138,7 @@
</a>
<div class="dropdown-menu" aria-labeledby="navbarAppsDropdown">
<%= if apps_menu == true do %>
<%= for %{url: url, title: title} <- external_apps_list() do %>
<%= for %{url: url, title: title} <- external_apps_list() do %>
<a href="<%= url %>" class="dropdown-item" target="_blank"><%= title %>
<span class="external-link-icon">
<%= render BlockScoutWeb.IconsView, "_external_link.html" %>
@ -156,24 +156,24 @@
</span>
<%= subnetwork_title() %>
</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
<%= if Enum.count(main_nets) > 0 do %>
<a class="dropdown-item header division">Mainnets</a>
<%= for %{url: url, title: title} <- main_nets do %>
<a class="dropdown-item header division">Mainnets</a>
<%= for %{url: url, title: title} <- main_nets do %>
<a class="dropdown-item" href="<%= url %>"><%= title %></a>
<% end %>
<% end %>
<%= if Enum.count(test_nets) > 0 do %>
<a class="dropdown-item header division">Testnets</a>
<%= for %{url: url, title: title} <- test_nets do %>
<a class="dropdown-item header division">Testnets</a>
<%= for %{url: url, title: title} <- test_nets do %>
<a class="dropdown-item" href="<%= url %>"><%= title %></a>
<% end %>
<% end %>
<%= if Enum.count(other_nets) > 0 do %>
<a class="dropdown-item header division">Other Networks</a>
<%= for %{url: url, title: title} <- other_nets do %>
<a class="dropdown-item header division">Other Networks</a>
<%= for %{url: url, title: title} <- other_nets do %>
<a class="dropdown-item" href="<%= url %>"><%= title %></a>
<% end %>
<% end %>
<% end %>
</div>
</li>

@ -6,11 +6,11 @@
<div class="d-flex justify-content-around">
<div class="d-flex flex-column">
<h1><%= @contracts_count %></h1>
<span class="text-muted">Total</span>
<span class="text-muted"><%= gettext ("Total") %></span>
</div>
<div class="d-flex flex-column">
<h1 class="text-success">+<%= @new_contracts_count %></h1>
<span class="text-muted">Last 24h</span>
<span class="text-muted"><%= gettext ("Last 24h") %></span>
</div>
</div>
</div>
@ -19,11 +19,11 @@
<div class="d-flex justify-content-around">
<div class="d-flex flex-column">
<h1><%= @verified_contracts_count %></h1>
<span class="text-muted">Total</span>
<span class="text-muted"><%= gettext ("Total") %></span>
</div>
<div class="d-flex flex-column">
<h1 class="text-success">+<%= @new_verified_contracts_count %></h1>
<span class="text-muted">Last 24h</span>
<span class="text-muted"><%= gettext ("Last 24h") %></span>
</div>
</div>
</div>

Loading…
Cancel
Save