mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-24 04:27:59 +01:00
28 lines
501 B
Text
28 lines
501 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: Routes.profile_path(@conn, :show, donation.user)
|
||
|
|
||
|
td
|
||
|
= donation.email
|
||
|
|
||
|
td
|
||
|
= donation.amount
|
||
|
|
||
|
td title=donation.note
|
||
|
= String.slice(donation.note, 0, 30)
|
||
|
|
||
|
td
|
||
|
= pretty_time donation.created_at
|