added by/pledged by
This commit is contained in:
parent
40b101a398
commit
9194839f9f
1 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,7 @@ block content
|
||||||
th Name
|
th Name
|
||||||
th(style='width: 50%;') Note
|
th(style='width: 50%;') Note
|
||||||
th Edit Note
|
th Edit Note
|
||||||
|
th Added By
|
||||||
if req.params.user === req.user._id
|
if req.params.user === req.user._id
|
||||||
th Move Up
|
th Move Up
|
||||||
th Move Down
|
th Move Down
|
||||||
|
@ -40,6 +41,7 @@ block content
|
||||||
)
|
)
|
||||||
span.icon
|
span.icon
|
||||||
i.far.fa-edit
|
i.far.fa-edit
|
||||||
|
td.ugc(data-label='Added By')= item.addedBy
|
||||||
if req.params.user === req.user._id
|
if req.params.user === req.user._id
|
||||||
td(data-label='Move Item Up')
|
td(data-label='Move Item Up')
|
||||||
form.inline(method='POST', action=`/wishlist/${req.params.user}/move/up/${item.id}`)
|
form.inline(method='POST', action=`/wishlist/${req.params.user}/move/up/${item.id}`)
|
||||||
|
@ -75,6 +77,8 @@ block content
|
||||||
.field.inline
|
.field.inline
|
||||||
.control.inline
|
.control.inline
|
||||||
input.inline.button(type='submit' value='Unpledge')
|
input.inline.button(type='submit' value='Unpledge')
|
||||||
|
if item.pledgedBy && item.pledgedBy !== req.user._id
|
||||||
|
span.ugc Pledged for by #{item.pledgedBy}
|
||||||
td(data-label='Delete Item')
|
td(data-label='Delete Item')
|
||||||
form.inline(method='POST', action=`/wishlist/${req.params.user}/remove/${item.id}`)
|
form.inline(method='POST', action=`/wishlist/${req.params.user}/remove/${item.id}`)
|
||||||
.field.inline
|
.field.inline
|
||||||
|
|
Loading…
Reference in a new issue