christmas/views/wishlists.pug

12 lines
400 B
Text
Raw Normal View History

2018-11-20 11:19:58 -08:00
extends layout.pug
block content
ul.noStyle
each user in users
if req.user._id !== user.id
li
a(href=`/wishlist/${user.id}`)
.box
span= user.id
span= `: ${totals(user.doc.wishlist).pledged}/${user.doc.wishlist.length}`
progress.progress.is-info(value=totals(user.doc.wishlist).pledged, max=user.doc.wishlist.length)