2018-11-20 11:19:58 -08:00
|
|
|
extends layout.pug
|
|
|
|
|
|
|
|
block content
|
2018-11-23 14:29:40 -08:00
|
|
|
ul.noStyle.noLeftMargin
|
2020-11-08 14:23:51 -08:00
|
|
|
if req.user._id !== 'Unknown'
|
|
|
|
li
|
|
|
|
a(href=`${_CC.config.base}wishlist/${req.user._id}`)
|
|
|
|
.box
|
2021-11-29 09:13:16 -08:00
|
|
|
.columns.is-mobile
|
2021-10-11 06:50:09 -07:00
|
|
|
if config.pfp
|
2021-11-29 09:13:16 -08:00
|
|
|
.column.is-1(style='overflow: hidden; padding: 0 0.5rem 0 0;')
|
2021-10-11 06:50:09 -07:00
|
|
|
figure.image.is-square.is-fullwidth.is-marginless(style='display: inline-block;')
|
|
|
|
img.is-rounded.is-fullwidth(src=req.user.pfp, style='object-fit: cover;')
|
2021-09-14 23:41:44 -07:00
|
|
|
.column
|
|
|
|
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
|
2020-10-29 11:14:38 -07:00
|
|
|
a(href=`${_CC.config.base}wishlist/${user.id}`)
|
2018-11-20 11:19:58 -08:00
|
|
|
.box
|
2021-11-29 09:13:16 -08:00
|
|
|
.columns.is-mobile
|
2021-10-11 06:50:09 -07:00
|
|
|
if config.pfp
|
2021-11-29 09:13:16 -08:00
|
|
|
.column.is-1(style='overflow: hidden; padding: 0 0.5rem 0 0;')
|
2021-10-11 06:50:09 -07:00
|
|
|
figure.image.is-square.is-fullwidth.is-marginless(style='display: inline-block;')
|
|
|
|
img.is-rounded.is-fullwidth(src=user.doc.pfp, style='object-fit: cover;')
|
2021-09-14 23:41:44 -07:00
|
|
|
.column
|
|
|
|
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)
|