forgot to use translations for pledge button

This commit is contained in:
Wingy 2021-12-06 13:17:29 -05:00
parent 5a38f15e6d
commit 18a1c113c8

View file

@ -106,12 +106,12 @@ block content
form.inline(method='POST', action=`${_CC.config.base}wishlist/${req.params.user}/pledge/${item.id}`) form.inline(method='POST', action=`${_CC.config.base}wishlist/${req.params.user}/pledge/${item.id}`)
.field.inline .field.inline
.control.inline .control.inline
input.inline.button.is-primary(type='submit' value='Pledge') input.inline.button.is-primary(type='submit' value=lang('WISHLIST_PLEDGE'))
if item.pledgedBy === req.user._id if item.pledgedBy === req.user._id
form.inline(method='POST', action=`${_CC.config.base}wishlist/${req.params.user}/unpledge/${item.id}`) form.inline(method='POST', action=`${_CC.config.base}wishlist/${req.params.user}/unpledge/${item.id}`)
.field.inline .field.inline
.control.inline .control.inline
input.inline.button(type='submit' value='Unpledge') input.inline.button(type='submit' value=lang('WISHLIST_UNPLEDGE'))
if item.pledgedBy && item.pledgedBy !== req.user._id if item.pledgedBy && item.pledgedBy !== req.user._id
span.ugc=lang('WISHLIST_PLEDGED', item.pledgedBy) span.ugc=lang('WISHLIST_PLEDGED', item.pledgedBy)
td(data-label='Delete Item') td(data-label='Delete Item')