update: success modal (testing something)

This commit is contained in:
CuriousMagpie
2022-09-08 15:53:26 -04:00
parent c6ba1d8402
commit 36a4ec69d5

View File

@@ -87,12 +87,10 @@
</template> </template>
<!-- give gift subscription (non-recurring)--> <!-- give gift subscription (non-recurring)-->
<template v-if="paymentData.paymentType === 'gift-subscription'"> <template v-if="paymentData.paymentType === 'gift-subscription'">
<div>
<span <span
v-html="$t('paymentYouSentSubscription', { v-html="$t('paymentYouSentSubscription', {
name: paymentData.giftReceiver, months: paymentData.subscription.months})" name: paymentData.giftReceiver, months: paymentData.subscription.months})"
></span> ></span>
</div>
</template> </template>
<!-- buy self subscription (recurring) --> <!-- buy self subscription (recurring) -->
<template v-if="paymentData.paymentType === 'subscription'"> <template v-if="paymentData.paymentType === 'subscription'">
@@ -103,24 +101,7 @@
amount: paymentData.subscription.price, months: paymentData.subscription.months})" amount: paymentData.subscription.price, months: paymentData.subscription.months})"
></span> ></span>
</div> </div>
<div
v-once
class="small-text auto-renew"
>
{{ $t('paymentAutoRenew') }}
</div>
</template> </template>
<!-- buttons for subscriptions -->
<div>
<button
v-if="paymentData.paymentType === 'subscription'
|| paymentData.paymentType === 'gift-subscription'"
class="btn btn-primary"
@click="onwards()"
>
{{ $t('onwards') }}
</button>
</div>
<!-- group plan new or upgraded --> <!-- group plan new or upgraded -->
<template v-if="paymentData.paymentType === 'groupPlan'"> <template v-if="paymentData.paymentType === 'groupPlan'">
<span <span
@@ -146,14 +127,24 @@
</div> </div>
</template> </template>
<!-- buy self subscription auto renew --> <!-- buy self subscription auto renew -->
<!-- <template <template
v-if="paymentData.paymentType === 'subscription'" v-if="paymentData.paymentType === 'subscription'"
> >
<span <span
v-once v-once
class="small-text auto-renew" class="small-text auto-renew"
>{{ $t('paymentAutoRenew') }}</span> >{{ $t('paymentAutoRenew') }}</span>
</template> --> </template>
<!-- buttons for subscriptions -->
<div>
<button
v-if="paymentData.paymentType === 'subscription'"
class="btn btn-primary"
@click="onwards()"
>
{{ $t('onwards') }} to Mayhem!
</button>
</div>
</div> </div>
</div> </div>
</b-modal> </b-modal>