From 8f831215864a2950a581035c3facc2a4da1c54b4 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Wed, 20 Mar 2019 13:24:30 +0300 Subject: [PATCH] fix usd fee --- .../templates/transaction/overview.html.eex | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex index 867740b72d..50b3ffb0a9 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex +++ b/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) %> <% status = transaction_status(@transaction) %>
@@ -73,11 +73,10 @@
<%= gettext "TX Fee" %>
<%= formatted_fee(@transaction, denomination: :ether) %> - ( - <% if !empty_exchange_rate?(@exchange_rate) do %> - data-usd-exchange-rate=<%= @exchange_rate.usd_value %> - <% end %> - >) + + <%= if !empty_exchange_rate?(@exchange_rate) do %> + ( data-usd-exchange-rate=<%= @exchange_rate.usd_value %>>) + <% end %>