diff --git a/app/views/admin/donations/index.html.erb b/app/views/admin/donations/index.html.erb index 0876cd7..1074843 100644 --- a/app/views/admin/donations/index.html.erb +++ b/app/views/admin/donations/index.html.erb @@ -33,11 +33,10 @@
- User: - <%= @donation.user.address %> -
- -- Amount sats: - <%= @donation.amount_sats %> -
- -- Amount eur: - <%= @donation.amount_eur %> -
- -- Amount usd: - <%= @donation.amount_usd %> -
- -- Public name: - <%= @donation.public_name %> -
- -- Date: - <%= @donation.paid_at %> -
+User | +<%= link_to @donation.user.address, admin_user_path(@donation.user.address), class: 'ks-text-link' %> | +
---|---|
Amount sats | +<%= @donation.amount_sats %> | +
Amount EUR | +<%= @donation.amount_eur %> | +
Amount USD | +<%= @donation.amount_usd %> | +
Public name | +<%= @donation.public_name %> | +
Date | +<%= @donation.paid_at.strftime("%Y-%m-%d (%H:%M UTC)") %> | +
<%= link_to 'Edit', edit_admin_donation_path(@donation), class: 'ks-text-link' %> | diff --git a/app/views/admin/lightning/index.html.erb b/app/views/admin/lightning/index.html.erb index 04c4507..8cb0757 100644 --- a/app/views/admin/lightning/index.html.erb +++ b/app/views/admin/lightning/index.html.erb @@ -36,7 +36,7 @@