2017-11-05 09:32:46 +01:00

20 lines
455 B
Plaintext

component GlobalPurchaseHistory(purchases []*arn.Purchase)
AdminTabs
h1.page-title All Purchases
table
thead
tr.mountable
th User
th Icon
th Item
th.history-quantity Quantity
th.history-price Price
th.history-date Date
tbody
each purchase in purchases
tr.shop-history-item.mountable(data-item-id=purchase.ItemID)
td
a.ajax(href=purchase.User().Link())= purchase.User().Nick
PurchaseInfo(purchase)