diff --git a/README.md b/README.md index c57b01e..5cc0031 100644 --- a/README.md +++ b/README.md @@ -160,10 +160,10 @@ Hi, I'm Wingy. I made this app. My website is [samwing.dev](https://samwing.dev)
- - Wingysam + + cj13579
- Wingysam + cj13579
diff --git a/src/languages/en-us.ts b/src/languages/en-us.ts index ebb19cf..70f5640 100644 --- a/src/languages/en-us.ts +++ b/src/languages/en-us.ts @@ -162,6 +162,7 @@ export const strings = { Latest: ${latest} This message is only visible to admins`, WISHLIST_ADD: 'Add item to wishlist', + WISHLIST_ADD_NEW: 'Add item', WISHLIST_ADDED_BY_USER: addedBy => `Added by: ${addedBy}`, WISHLIST_ADDED_BY: 'Added By', WISHLIST_ADDED_ITEM_TO_OWN_WISHLIST: 'Added item to wishlist.', diff --git a/src/views/wishlist.pug b/src/views/wishlist.pug index 34daad0..212691f 100644 --- a/src/views/wishlist.pug +++ b/src/views/wishlist.pug @@ -16,6 +16,13 @@ block title i.fas.fa-sync-alt .level-item span= lang('WISHLIST_TITLE', name) + .level-right + .level-item + a(href="#addWishlistItem").button.button.is-primary.is-rounded + span.icon + i.fas.fa-plus + span= lang('WISHLIST_ADD_NEW') + block content script(type='data/user_id')= req.user._id @@ -255,7 +262,7 @@ block content .field.inline .control.inline input.inline.button(type='submit' value=lang('WISHLIST_MOVE_ITEM_BOTTOM')) - form(method='POST') + form(method='POST')#addWishlistItem .field label.label!=lang('WISHLIST_URL_LABEL') .control.has-icons-left