Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename "Downtime" tab to "Unsigned Blocks" for validator addresses #977

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
) %>
<%= if BlockScoutWeb.AddressView.is_validator_signer?(@address) do %>
<%= link(
gettext("Downtime"),
gettext("Unsigned Blocks"),
class: "card-tab #{tab_status("signed", @conn.request_path)}",
"data-test": "signed_tab_link",
to: AccessHelpers.get_path(@conn, :address_signed_path, :index, @address.hash)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
<a href="#" class="alert-link"><%= gettext "Connection Lost, click to load newer blocks" %></a>
</div>
</div>
<h2 class="card-title"><%=gettext("Downtime")%></h2>
<h2 class="card-title"><%=gettext("Unsigned Blocks")%></h2>

<%= render BlockScoutWeb.CommonComponentsView, "_pagination_container.html", position: "top", cur_page_number: "1", show_pagination_limit: true, data_next_page_button: true, data_prev_page_button: true %>

<div data-empty-response-message class="tile tile-muted text-center" style="display: none;">
<span><%= gettext "There are no downtime blocks for this address." %></span>
<span><%= gettext "There are no unsigned blocks for this address." %></span>
</div>
<button data-error-message class="alert alert-danger col-12 text-left" style="display: none;">
<span class="alert-link">
Expand Down
18 changes: 11 additions & 7 deletions apps/block_scout_web/priv/gettext/default.pot
Original file line number Diff line number Diff line change
Expand Up @@ -3468,8 +3468,6 @@ msgstr ""
msgid "Domain"
msgstr ""

#: lib/block_scout_web/templates/address/_tabs.html.eex:41
#: lib/block_scout_web/templates/address_signed/index.html.eex:23
#: lib/block_scout_web/templates/block_signers/index.html.eex:27
#, elixir-autogen, elixir-format
msgid "Downtime"
Expand Down Expand Up @@ -3722,11 +3720,6 @@ msgstr ""
msgid "The requested path was not found on BlockScout."
msgstr ""

#: lib/block_scout_web/templates/address_signed/index.html.eex:28
#, elixir-autogen, elixir-format
msgid "There are no downtime blocks for this address."
msgstr ""

#: lib/block_scout_web/templates/address_epoch_transaction/index.html.eex:40
#, elixir-autogen, elixir-format
msgid "There are no epoch transactions for this address."
Expand Down Expand Up @@ -3885,3 +3878,14 @@ msgstr ""
#, elixir-autogen, elixir-format
msgid "sent to Community Fund for this transaction. Equals Block Base Fee per Gas * Gas Used."
msgstr ""

#: lib/block_scout_web/templates/address/_tabs.html.eex:41
#: lib/block_scout_web/templates/address_signed/index.html.eex:23
#, elixir-autogen, elixir-format
msgid "Unsigned Blocks"
msgstr ""

#: lib/block_scout_web/templates/address_signed/index.html.eex:28
#, elixir-autogen, elixir-format
msgid "There are no unsigned blocks for this address."
msgstr ""
18 changes: 11 additions & 7 deletions apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po
Original file line number Diff line number Diff line change
Expand Up @@ -3468,8 +3468,6 @@ msgstr ""
msgid "Domain"
msgstr ""

#: lib/block_scout_web/templates/address/_tabs.html.eex:41
#: lib/block_scout_web/templates/address_signed/index.html.eex:23
#: lib/block_scout_web/templates/block_signers/index.html.eex:27
#, elixir-autogen, elixir-format
msgid "Downtime"
Expand Down Expand Up @@ -3722,11 +3720,6 @@ msgstr ""
msgid "The requested path was not found on BlockScout."
msgstr ""

#: lib/block_scout_web/templates/address_signed/index.html.eex:28
#, elixir-autogen, elixir-format, fuzzy
msgid "There are no downtime blocks for this address."
msgstr ""

#: lib/block_scout_web/templates/address_epoch_transaction/index.html.eex:40
#, elixir-autogen, elixir-format, fuzzy
msgid "There are no epoch transactions for this address."
Expand Down Expand Up @@ -3885,3 +3878,14 @@ msgstr ""
#, elixir-autogen, elixir-format
msgid "sent to Community Fund for this transaction. Equals Block Base Fee per Gas * Gas Used."
msgstr ""

#: lib/block_scout_web/templates/address/_tabs.html.eex:41
#: lib/block_scout_web/templates/address_signed/index.html.eex:23
#, elixir-autogen, elixir-format
msgid "Unsigned Blocks"
msgstr ""

#: lib/block_scout_web/templates/address_signed/index.html.eex:28
#, elixir-autogen, elixir-format, fuzzy
msgid "There are no unsigned blocks for this address."
msgstr ""
Loading