fix: localized pledge button
This commit is contained in:
parent
08845b8f84
commit
e9a9b91414
1 changed files with 2 additions and 2 deletions
|
@ -106,12 +106,12 @@ block content
|
|||
form.inline(method='POST', action=`${_CC.config.base}wishlist/${req.params.user}/pledge/${item.id}`)
|
||||
.field.inline
|
||||
.control.inline
|
||||
input.inline.button.is-primary(type='submit' value='Pledge')
|
||||
input.inline.button.is-primary(type='submit' value=lang('WISHLIST_PLEDGE_ITEM'))
|
||||
if item.pledgedBy === req.user._id
|
||||
form.inline(method='POST', action=`${_CC.config.base}wishlist/${req.params.user}/unpledge/${item.id}`)
|
||||
.field.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
|
||||
span.ugc=lang('WISHLIST_PLEDGED', item.pledgedBy)
|
||||
td(data-label='Delete Item')
|
||||
|
|
Loading…
Reference in a new issue