philomena/lib/philomena_web/templates/admin/donation/_table.html.slime

28 lines
483 B
Text
Raw Permalink Normal View History

2019-12-17 04:24:40 +01:00
table.table
thead
tr
th User
th Email
th Amount
th Note
th At
tbody
= for donation <- @donations do
tr
td
= if donation.user do
= link donation.user.name, to: ~p"/profiles/#{donation.user}"
2019-12-17 04:24:40 +01:00
td
= donation.email
td
= donation.amount
td title=donation.note
= String.slice(donation.note, 0, 30)
td
= pretty_time donation.created_at