mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
update: success modal (testing something)
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user