diff --git a/app/views/admin/donations/index.html.erb b/app/views/admin/donations/index.html.erb index bbf1a9e..90a755e 100644 --- a/app/views/admin/donations/index.html.erb +++ b/app/views/admin/donations/index.html.erb @@ -35,7 +35,7 @@ <% @donations.each do |donation| %> - <%= link_to donation.user.address, admin_user_path(donation.user.address), class: 'ks-text-link' %> + <%= link_to donation.user.cn, admin_user_path(donation.user.cn), class: 'ks-text-link' %> <% if donation.amount_sats.present? %><%= number_with_delimiter donation.amount_sats %><% end %> <% if donation.fiat_amount.present? %><%= number_to_currency donation.fiat_amount.to_f / 100, unit: "" %> <%= donation.fiat_currency %><% end %> <%= donation.public_name %> diff --git a/app/views/admin/donations/show.html.erb b/app/views/admin/donations/show.html.erb index 1853eb2..00b32cc 100644 --- a/app/views/admin/donations/show.html.erb +++ b/app/views/admin/donations/show.html.erb @@ -6,7 +6,7 @@ User - <%= link_to @donation.user.address, admin_user_path(@donation.user.address), class: 'ks-text-link' %> + <%= link_to @donation.user.cn, admin_user_path(@donation.user.cn), class: 'ks-text-link' %> Donation Method