Fix channel disconnected and batching messages

pull/1030/head
jimmay5469 6 years ago
parent a55c602836
commit 3a73db3edb
  1. 4
      apps/block_scout_web/lib/block_scout_web/templates/address_internal_transaction/index.html.eex
  2. 2
      apps/block_scout_web/lib/block_scout_web/templates/address_validation/index.html.eex
  3. 6
      apps/block_scout_web/lib/block_scout_web/templates/transaction/index.html.eex

@ -8,12 +8,12 @@
</div>
<div class="card-body">
<div data-selector="channel-batching-message" class="d-none">
<div data-selector="channel-batching-message" style="display: none;">
<div data-selector="reload-button" class="alert alert-info">
<a href="#" class="alert-link"><span data-selector="channel-batching-count"></span> <%= gettext "More internal transactions have come in" %></a>
</div>
</div>
<div data-selector="channel-disconnected-message" class="d-none">
<div data-selector="channel-disconnected-message" style="display: none;">
<div data-selector="reload-button" class="alert alert-danger">
<a href="#" class="alert-link"><%= gettext "Connection Lost, click to load newer internal transactions" %></a>
</div>

@ -99,7 +99,7 @@
</div>
<div class="card-body">
<div data-selector="channel-disconnected-message" class="d-none">
<div data-selector="channel-disconnected-message" style="display: none;">
<div data-selector="reload-button" class="alert alert-danger">
<a href="#" class="alert-link"><%= gettext "Connection Lost, click to load newer validations" %></a>
</div>

@ -9,17 +9,17 @@
<%= gettext("Validated Transactions") %>
</p>
<div data-selector="channel-batching-message" class="d-none">
<div data-selector="channel-batching-message" style="display: none;">
<div data-selector="reload-button" class="alert alert-info">
<a href="#" class="alert-link"><span data-selector="channel-batching-count"></span> <%= gettext "More transactions have come in" %></a>
</div>
</div>
<div data-selector="channel-disconnected-message" class="d-none">
<div data-selector="channel-disconnected-message" style="display: none;">
<div data-selector="reload-button" class="alert alert-danger">
<a href="#" class="alert-link"><%= gettext "Connection Lost, click to load newer transactions" %></a>
</div>
</div>
<span data-selector="transactions-list">
<%= for transaction <- @transactions do %>
<%= render BlockScoutWeb.TransactionView, "_tile.html", transaction: transaction %>

Loading…
Cancel
Save