From f1ae5667de679dae33f608a409eecb203bfe4e43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Wed, 3 May 2023 12:51:22 +0200 Subject: [PATCH] Shape tx details UI a bit --- app/views/services/lightning/transactions.html.erb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/services/lightning/transactions.html.erb b/app/views/services/lightning/transactions.html.erb index cba8d3b..0f11698 100644 --- a/app/views/services/lightning/transactions.html.erb +++ b/app/views/services/lightning/transactions.html.erb @@ -27,7 +27,7 @@

"> <%= tx["received"] ? "+" : "" %><%= number_with_delimiter tx["amount_sats"] %> - + sats

@@ -36,7 +36,9 @@

<%= tx["datetime"].strftime("%B %e, %H:%M") -%> - <% if tx["fee"] && (tx["fee"] > 0) %>, Fee: <%= tx["fee"] %> sats<% end %> + <% if tx["fee"] && (tx["fee"] > 0) %> + ~ Fee: <%= pluralize tx["fee"], "sat" %> + <% end %>