mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-24 12:37:58 +01:00
27 lines
483 B
Text
27 lines
483 B
Text
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}"
|
|
|
|
td
|
|
= donation.email
|
|
|
|
td
|
|
= donation.amount
|
|
|
|
td title=donation.note
|
|
= String.slice(donation.note, 0, 30)
|
|
|
|
td
|
|
= pretty_time donation.created_at
|