- menu BOT
- verified_by_aportador
This commit is contained in:
@@ -207,6 +207,12 @@
|
||||
@click="EseguiFunz('CorreggiTabHours')"></q-btn>
|
||||
<br>
|
||||
</div>
|
||||
<div class="row">
|
||||
<q-btn
|
||||
label="setVerifiedByAportadorToALL" color="negative"
|
||||
@click="EseguiFunz('setVerifiedByAportadorToALL')"></q-btn>
|
||||
<br>
|
||||
</div>
|
||||
|
||||
|
||||
<q-field
|
||||
|
||||
@@ -15,19 +15,19 @@
|
||||
</div>
|
||||
</div>
|
||||
<q-banner
|
||||
v-if="!isEmailVerified"
|
||||
v-if="!isEmailVerified()"
|
||||
rounded
|
||||
class="bg-warning text-black"
|
||||
color="primary q-title"
|
||||
style="text-align: center;">
|
||||
<div class="mybanner" v-html="$t('components.authentication.email_verification.link_sent', {botname: $t('site.botname') })">
|
||||
<div class="mybanner" v-html="$t('components.authentication.email_verification.link_sent', {botname: $t('ws.botname') })">
|
||||
|
||||
</div>
|
||||
|
||||
</q-banner>
|
||||
<br>
|
||||
<q-banner
|
||||
v-if="!isEmailVerified"
|
||||
v-if="!isEmailVerified()"
|
||||
rounded
|
||||
class="bg-warning text-black"
|
||||
color="primary q-title"
|
||||
|
||||
@@ -4,6 +4,7 @@ import { useQuasar } from 'quasar'
|
||||
import { useI18n } from '@/boot/i18n'
|
||||
import { useUserStore } from '@store/UserStore'
|
||||
import { useRoute } from 'vue-router'
|
||||
import { tools } from '@store/Modules/tools'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'SignUp',
|
||||
@@ -21,6 +22,15 @@ export default defineComponent({
|
||||
adult.value = !!$route.params.invited
|
||||
})
|
||||
|
||||
function created() {
|
||||
if (!tools.getCookie(tools.APORTADOR_SOLIDARIO, '')) {
|
||||
// @ts-ignore
|
||||
tools.setCookie(tools.APORTADOR_SOLIDARIO, $route.params.invited ? $route.params.invited : '')
|
||||
}
|
||||
}
|
||||
|
||||
created()
|
||||
|
||||
return {}
|
||||
},
|
||||
})
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<q-page padding class="signup">
|
||||
<CSignUp :showcell="true">
|
||||
<CSignUp :showcell="false" :showaportador="true">
|
||||
|
||||
</CSignUp>
|
||||
</q-page>
|
||||
|
||||
Reference in New Issue
Block a user