fix usd fee

pull/1613/head
Ayrat Badykov 6 years ago
parent b07d57f682
commit 8f83121586
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 11
      apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex

@ -1,4 +1,4 @@
<% block = @transaction.block %> s<% block = @transaction.block %>
<% decoded_input_data = decoded_input_data(@transaction) %> <% decoded_input_data = decoded_input_data(@transaction) %>
<% status = transaction_status(@transaction) %> <% status = transaction_status(@transaction) %>
<section data-page="transaction-details" data-page-transaction-hash="<%= @transaction %>"> <section data-page="transaction-details" data-page-transaction-hash="<%= @transaction %>">
@ -73,11 +73,10 @@
<dt class="col-sm-3 text-muted"> <%= gettext "TX Fee" %> </dt> <dt class="col-sm-3 text-muted"> <%= gettext "TX Fee" %> </dt>
<dd class="col-sm-9"> <dd class="col-sm-9">
<%= formatted_fee(@transaction, denomination: :ether) %> <%= formatted_fee(@transaction, denomination: :ether) %>
(<span data-wei-value=<%= fee(@transaction) %>
<% if !empty_exchange_rate?(@exchange_rate) do %> <%= if !empty_exchange_rate?(@exchange_rate) do %>
data-usd-exchange-rate=<%= @exchange_rate.usd_value %> (<span data-wei-value=<%= fee(@transaction) %> data-usd-exchange-rate=<%= @exchange_rate.usd_value %>></span>)
<% end %> <% end %>
></span>)
</dd> </dd>
</dl> </dl>
<!-- Processing Time --> <!-- Processing Time -->

Loading…
Cancel
Save