mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 14:17:22 +01:00
* Updated userItemsNotEnough string * Added a variable to be passed to the deleteSocialAccountText string. This variable name is `magic_word` and is set as DELETE where used * modified incorrectDeletePhrase to use a variable rather than translatable string for the word DELETE. Updated the DELETE-user test and the user api * Changed noSudoAccess from translatable string to static * Changed enterprisePlansEmailSubject from a translatable string to a static string within groupPlans.vue * Fixed test problems with translation fixes * Added no sudo access string to api messages * changed plain string to apiMessage for no sudo access messages
76 lines
2.0 KiB
Vue
76 lines
2.0 KiB
Vue
<template lang="pug">
|
|
div
|
|
.container-fluid
|
|
.row
|
|
.col-6.offset-3
|
|
button.btn.btn-primary.btn-lg.btn-block(@click="goToNewGroupPage()") {{ $t('getAGroupPlanToday') }}
|
|
|
|
.row
|
|
.col-6.offset-3
|
|
br
|
|
.text-center {{ $t('groupSubscriptionPrice') }}
|
|
|
|
hr
|
|
|
|
.col-6.offset-3.text-center
|
|
.row.row-margin(style="font-size: 2rem;")
|
|
span {{ $t('enterprisePlansDescription') }}
|
|
.row.row-margin
|
|
// TODO
|
|
a.btn.btn-primary.btn-lg.btn-block(:href="'mailto:vicky@habitica.com?subject=' + enterprisePlansEmailSubject") {{ $t('enterprisePlansButton') }}
|
|
|
|
br
|
|
|
|
.row.row-margin(style="font-size: 2rem;")
|
|
span {{ $t('familyPlansDescription') }}
|
|
.row.row-margin
|
|
a.btn.btn-primary.btn-lg.btn-block(href="https://docs.google.com/forms/d/e/1FAIpQLSerMKkaCg3UcgpcMvBJtlNgnF9DNY8sxCebpAT-GHeDAQASPQ/viewform?usp=sf_link") {{ $t('familyPlansButton') }}
|
|
</template>
|
|
|
|
<style lang='scss' scoped>
|
|
.main {
|
|
margin-top: 6em;
|
|
}
|
|
</style>
|
|
|
|
<script>
|
|
import StaticHeader from './header.vue';
|
|
import * as Analytics from 'client/libs/analytics';
|
|
|
|
export default {
|
|
components: {
|
|
StaticHeader,
|
|
},
|
|
data () {
|
|
return {
|
|
enterprisePlansEmailSubject: 'Question regarding Enterprise Plans',
|
|
};
|
|
},
|
|
methods: {
|
|
goToNewGroupPage () {
|
|
if (!this.$store.state.isUserLoggedIn) {
|
|
this.$router.push({
|
|
name: 'register',
|
|
query: {
|
|
redirectTo: '/group-plans',
|
|
},
|
|
});
|
|
return;
|
|
}
|
|
|
|
this.$router.push('/group-plans');
|
|
},
|
|
contactUs () {
|
|
Analytics.track({
|
|
hitType: 'event',
|
|
eventCategory: 'button',
|
|
eventAction: 'click',
|
|
eventLabel: 'Contact Us (Plans)',
|
|
});
|
|
|
|
window.location.href = `mailto:vicky@habitica.com?subject=${ this.enterprisePlansEmailSubject }`;
|
|
},
|
|
},
|
|
};
|
|
</script>
|