christmas/views/wishlists.pug

18 lines
573 B
Text
Raw Normal View History

2018-11-20 11:19:58 -08:00
extends layout.pug
block content
2018-11-23 14:29:40 -08:00
ul.noStyle.noLeftMargin
2019-11-17 15:38:46 -08:00
li
a(href=`/wishlist/${req.user._id}`)
.box
span=req.user._id
span : ???/???
progress.progress(value=1, max=1)
2018-11-20 11:19:58 -08:00
each user in users
if req.user._id !== user.id
li
a(href=`/wishlist/${user.id}`)
.box
span= user.id
2018-11-30 13:44:06 -08:00
span : #{totals(user.doc.wishlist).pledged}/#{user.doc.wishlist.length}
2018-11-20 11:19:58 -08:00
progress.progress.is-info(value=totals(user.doc.wishlist).pledged, max=user.doc.wishlist.length)