Port admin to new layout
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-02-20 11:13:07 -06:00
parent 4f2b35ccb9
commit 2e301c3019
19 changed files with 507 additions and 473 deletions

View File

@@ -1,36 +1,40 @@
<p id="notice"><%= notice %></p>
<%= render partial: "components/header", locals: { page_title: "Donations" } %>
<p>
<strong>User:</strong>
<%= @donation.user_id %>
</p>
<%= render layout: "components/main_simple" do %>
<p id="notice"><%= notice %></p>
<p>
<strong>Amount sats:</strong>
<%= @donation.amount_sats %>
</p>
<p>
<strong>User:</strong>
<%= @donation.user.address %>
</p>
<p>
<strong>Amount eur:</strong>
<%= @donation.amount_eur %>
</p>
<p>
<strong>Amount sats:</strong>
<%= @donation.amount_sats %>
</p>
<p>
<strong>Amount usd:</strong>
<%= @donation.amount_usd %>
</p>
<p>
<strong>Amount eur:</strong>
<%= @donation.amount_eur %>
</p>
<p>
<strong>Public name:</strong>
<%= @donation.public_name %>
</p>
<p>
<strong>Amount usd:</strong>
<%= @donation.amount_usd %>
</p>
<p>
<strong>Date:</strong>
<%= @donation.paid_at %>
</p>
<p>
<strong>Public name:</strong>
<%= @donation.public_name %>
</p>
<p class="mt-8">
<%= link_to 'Edit', edit_admin_donation_path(@donation), class: 'ks-text-link' %> |
<%= link_to 'Back', admin_donations_path, class: 'ks-text-link' %>
</p>
<p>
<strong>Date:</strong>
<%= @donation.paid_at %>
</p>
<p class="mt-8">
<%= link_to 'Edit', edit_admin_donation_path(@donation), class: 'ks-text-link' %> |
<%= link_to 'Back', admin_donations_path, class: 'ks-text-link' %>
</p>
<% end %>