From 669b16381460606357f60852e52ca32a003a6ea6 Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Tue, 23 Nov 2021 20:08:54 -0600 Subject: [PATCH] Make the wallet balance look a bit nicer --- app/views/wallet/index.html.erb | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/app/views/wallet/index.html.erb b/app/views/wallet/index.html.erb index fda7bd6..07c8055 100644 --- a/app/views/wallet/index.html.erb +++ b/app/views/wallet/index.html.erb @@ -1,16 +1,21 @@ -
-
+
+

Wallet

- Send and receive BTC via the Lightning Network. + Send and receive sats via the Bitcoin Lightning Network. +

+
+
+

+ <% if @balance %> + 48590<%= @balance %> sats
+ Available balance + <% else %> + n/a<%= @balance %> sats
+ Balance unavailable + <% end %>

-

- <% if @balance %> - <%= @balance %> sats
- Available balance - <% end %> -