diff --git a/views/wishlist.pug b/views/wishlist.pug index 80807a2..d1f5331 100644 --- a/views/wishlist.pug +++ b/views/wishlist.pug @@ -8,6 +8,7 @@ block content th Name th(style='width: 50%;') Note th Edit Note + th Added By if req.params.user === req.user._id th Move Up th Move Down @@ -40,6 +41,7 @@ block content ) span.icon i.far.fa-edit + td.ugc(data-label='Added By')= item.addedBy if req.params.user === req.user._id td(data-label='Move Item Up') form.inline(method='POST', action=`/wishlist/${req.params.user}/move/up/${item.id}`) @@ -75,6 +77,8 @@ block content .field.inline .control.inline 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') form.inline(method='POST', action=`/wishlist/${req.params.user}/remove/${item.id}`) .field.inline