30 lines
No EOL
1.4 KiB
Text
30 lines
No EOL
1.4 KiB
Text
extends layout.pug
|
|
|
|
block content
|
|
ul.noStyle.noLeftMargin
|
|
if req.user._id !== '_CCUNKNOWN'
|
|
li
|
|
a(href=`${_CC.config.base}wishlist/${req.user._id}`)
|
|
.box
|
|
.columns.is-mobile
|
|
if config.pfp
|
|
.column.is-1(style='overflow: hidden; padding: 0 0.5rem 0 0;')
|
|
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;')
|
|
.column
|
|
span
|
|
span=lang('WISHLISTS_COUNTS_SELF', req.user._id)
|
|
progress.progress(value=1, max=1)
|
|
each user in users
|
|
if req.user._id !== user.id
|
|
li
|
|
a(href=`${_CC.config.base}wishlist/${user.id}`)
|
|
.box
|
|
.columns.is-mobile
|
|
if config.pfp
|
|
.column.is-1(style='overflow: hidden; padding: 0 0.5rem 0 0;')
|
|
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;')
|
|
.column
|
|
span= lang('WISHLISTS_COUNTS', user.id, totals(user.doc.wishlist).pledged, user.doc.wishlist.length)
|
|
progress.progress.is-info(value=totals(user.doc.wishlist).pledged, max=user.doc.wishlist.length) |