Code style cleanup

pull/395/head
jimmay5469 6 years ago
parent 581044684a
commit cc5db4dd2d
  1. 6
      apps/explorer_web/lib/explorer_web/templates/pending_transaction/index.html.eex
  2. 3
      apps/explorer_web/lib/explorer_web/templates/transaction/index.html.eex

@ -18,8 +18,8 @@
) %> ) %>
</li> </li>
</ul> </ul>
</div> </div>
<div class="card-body"> <div class="card-body">
<h2 class="card-title mb-0"><%= gettext "Transactions" %></h2> <h2 class="card-title mb-0"><%= gettext "Transactions" %></h2>
<p><%= gettext("Showing %{count} Pending Transactions", count: @pending_transaction_count) %></p> <p><%= gettext("Showing %{count} Pending Transactions", count: @pending_transaction_count) %></p>
@ -30,6 +30,7 @@
<div class="col-md-2 d-flex align-items-center justify-content-start justify-content-lg-center tile-label"> <div class="col-md-2 d-flex align-items-center justify-content-start justify-content-lg-center tile-label">
<%= ExplorerWeb.TransactionView.transaction_display_type(transaction) %> <%= ExplorerWeb.TransactionView.transaction_display_type(transaction) %>
</div> </div>
<div class="col-md-7 col-lg-8 d-flex flex-column"> <div class="col-md-7 col-lg-8 d-flex flex-column">
<%= render ExplorerWeb.TransactionView, "_link.html", locale: @locale, transaction_hash: transaction.hash %> <%= render ExplorerWeb.TransactionView, "_link.html", locale: @locale, transaction_hash: transaction.hash %>
<span> <span>
@ -43,9 +44,6 @@
</span> </span>
<%= ExplorerWeb.TransactionView.value(transaction, include_label: false) %> POA <%= ExplorerWeb.TransactionView.value(transaction, include_label: false) %> POA
</div> </div>
<div class="col-md-3 col-lg-2 d-flex flex-row flex-md-column justify-content-start justify-content-md-end text-md-right">
</div>
</div> </div>
</div> </div>
<% end %> <% end %>

@ -18,8 +18,8 @@
) %> ) %>
</li> </li>
</ul> </ul>
</div> </div>
<div class="card-body"> <div class="card-body">
<h2 class="card-title mb-0"><%= gettext "Transactions" %></h2> <h2 class="card-title mb-0"><%= gettext "Transactions" %></h2>
<p><%= gettext("Showing %{count} Validated Transactions", count: Cldr.Number.to_string!(@transaction_estimated_count, format: "#,###")) %></p> <p><%= gettext("Showing %{count} Validated Transactions", count: Cldr.Number.to_string!(@transaction_estimated_count, format: "#,###")) %></p>
@ -30,6 +30,7 @@
<div class="col-md-2 d-flex align-items-center justify-content-start justify-content-lg-center tile-label" data-test="transaction_type"> <div class="col-md-2 d-flex align-items-center justify-content-start justify-content-lg-center tile-label" data-test="transaction_type">
<%= ExplorerWeb.TransactionView.transaction_display_type(transaction) %> <%= ExplorerWeb.TransactionView.transaction_display_type(transaction) %>
</div> </div>
<div class="col-md-7 col-lg-8 d-flex flex-column"> <div class="col-md-7 col-lg-8 d-flex flex-column">
<%= render ExplorerWeb.TransactionView, "_link.html", locale: @locale, transaction_hash: transaction.hash %> <%= render ExplorerWeb.TransactionView, "_link.html", locale: @locale, transaction_hash: transaction.hash %>
<span> <span>

Loading…
Cancel
Save