diff --git a/BTCPayServer/Views/AppsPublic/Crowdfund/VueCrowdfund.cshtml b/BTCPayServer/Views/AppsPublic/Crowdfund/VueCrowdfund.cshtml index ba3239e4f..4ca405edc 100644 --- a/BTCPayServer/Views/AppsPublic/Crowdfund/VueCrowdfund.cshtml +++ b/BTCPayServer/Views/AppsPublic/Crowdfund/VueCrowdfund.cshtml @@ -8,10 +8,10 @@ Starts {{startDateRelativeTime}} - + Ends {{endDateRelativeTime}} - + Currently Active! @@ -106,7 +106,12 @@ - + + + @@ -116,7 +121,13 @@ - + + Submit @@ -126,3 +137,32 @@ + + + + + diff --git a/BTCPayServer/wwwroot/crowdfund/components/contribute.js b/BTCPayServer/wwwroot/crowdfund/components/contribute.js index 507652d17..0f08828fb 100644 --- a/BTCPayServer/wwwroot/crowdfund/components/contribute.js +++ b/BTCPayServer/wwwroot/crowdfund/components/contribute.js @@ -1,5 +1,6 @@ Vue.component('contribute', { - props: ["targetCurrency", "active", "inModal"], + props: ["targetCurrency", "active", "perks", "inModal"], + template: "#contribute-template", data: function () { return { email: "", @@ -17,27 +18,19 @@ Vue.component('contribute', { } eventAggregator.$emit("contribute", {email: this.email, amount: this.amount, choiceKey: this.choiceKey}); } - }, - - template: "" + - "Contribute" + - "" + - " " + - "" + - " " + - " " + - " " + - " " + - " " + - " " + - " " + - " " + - " " + - " {{targetCurrency}}" + - " " + - " " + - " " + - " Contribute" + - " " + - "" + } }); + +Vue.component('perks-display', { + props: ["perks"], + template: "#perks-template", + data: function () { + return { + } + }, + methods: { + + } +}); + +