2) REGISTRARSI : A) TRAMITE TELEGRAM B) TRAMITE EMAIL.

This commit is contained in:
Surya Paolo
2022-12-08 10:09:33 +01:00
parent 944d121943
commit 56411a4539
15 changed files with 285 additions and 155 deletions

View File

@@ -50,6 +50,7 @@ export const shared_consts = {
CHECKTESTENV: 240, CHECKTESTENV: 240,
BTN_REG: 250, BTN_REG: 250,
BTN_REG_BYBOT: 255, BTN_REG_BYBOT: 255,
REGISTRATION: 258,
BTN_LOGIN: 260, BTN_LOGIN: 260,
FOOTER: 270, FOOTER: 270,
}, },
@@ -1358,6 +1359,10 @@ export const shared_consts = {
value: 135, value: 135,
label: 'Check App Running', label: 'Check App Running',
}, },
{
value: 258,
label: 'Registration',
},
{ {
value: 220, value: 220,
label: 'CHART', label: 'CHART',

View File

@@ -28,6 +28,7 @@ import { CCheckIfIsLogged } from '@src/components/CCheckIfIsLogged'
import { CSelectFontSize } from '@src/components/CSelectFontSize' import { CSelectFontSize } from '@src/components/CSelectFontSize'
import { CNotifAtTop } from '@src/components/CNotifAtTop' import { CNotifAtTop } from '@src/components/CNotifAtTop'
import { CPresentazione } from '@src/components/CPresentazione' import { CPresentazione } from '@src/components/CPresentazione'
import { CRegistration } from '@src/components/CRegistration'
import { CShareSocial } from '@src/components/CShareSocial' import { CShareSocial } from '@src/components/CShareSocial'
import MixinMetaTags from '@/mixins/mixin-metatags' import MixinMetaTags from '@/mixins/mixin-metatags'
@@ -45,7 +46,7 @@ export default defineComponent({
CSelectColor, CSelectFontSize, CImgPoster, CSelectColor, CSelectFontSize, CImgPoster,
CCheckIfIsLogged, CStatusReg, CDashboard, CMainView, CNotifAtTop, CCheckIfIsLogged, CStatusReg, CDashboard, CMainView, CNotifAtTop,
CPresentazione, CPresentazione,
CTitleBanner, CShareSocial, CCheckAppRunning, CTitleBanner, CShareSocial, CCheckAppRunning, CRegistration,
}, },
emits: ['selElemClick'], emits: ['selElemClick'],
props: { props: {

View File

@@ -439,6 +439,10 @@
<div v-if="editOn" class="elemEdit">CheckAppRunning</div> <div v-if="editOn" class="elemEdit">CheckAppRunning</div>
<CCheckAppRunning /> <CCheckAppRunning />
</div> </div>
<div v-else-if="myel.type === shared_consts.ELEMTYPE.REGISTRATION">
<div v-if="editOn" class="elemEdit">Registrazione</div>
<CRegistration />
</div>
<div v-else-if="myel.type === shared_consts.ELEMTYPE.DASHBOARD"> <div v-else-if="myel.type === shared_consts.ELEMTYPE.DASHBOARD">
<div v-if="editOn" class="elemEdit">CDashboard</div> <div v-if="editOn" class="elemEdit">CDashboard</div>
<CDashboard></CDashboard> <CDashboard></CDashboard>
@@ -480,7 +484,7 @@
Msg di Controllo Verifica Email Msg di Controllo Verifica Email
</div> </div>
<div class="q-pa-md q-gutter-md"> <div class="q-pa-md q-gutter-md">
<div v-if="tools.isLogged() && !isVerified" class="text-verified"> <div v-if="tools.isLogged() && !tools.isVerified()" class="text-verified">
{{ $t('components.authentication.email_verification.link_sent') }} {{ $t('components.authentication.email_verification.link_sent') }}
</div> </div>
</div> </div>

View File

@@ -779,7 +779,6 @@
col.fieldtype === costanti.FieldType.multiselect_by_server col.fieldtype === costanti.FieldType.multiselect_by_server
" "
> >
myvalue: {{myvalue}}
<CMySelect <CMySelect
:type_out="col.field_outtype" :type_out="col.field_outtype"
:col="col" :col="col"

View File

@@ -21,9 +21,20 @@ export default defineComponent({
const site = ref(globalStore.site) const site = ref(globalStore.site)
function clickToRegister() {
if (site.value.confpages.enableRegByBot) {
$router.push('/bot')
} else {
$router.push('/signup')
}
}
return { return {
tools, tools,
site, site,
clickToRegister,
} }
}, },
}) })

View File

@@ -1,30 +1,40 @@
<template> <template>
<div> <div v-if="site.confpages.enableReg">
<div <div
v-if="site.confpages.enableReg && site.confpages.enableRegByBot" v-if="site.confpages.enableRegMultiChoice"
style="margin-top: 10px; text-align: center" class="row q-ma-sm centermydiv2 q-pa-sm justify-center align-center"
style=""
> >
Se non sei ancora Registrato:<br />
<q-btn <q-btn
type="a"
rounded rounded
class="flex-item-btn"
icon="fab fa-telegram"
size="md" size="md"
color="primary" color="primary"
href="/bot" to="/bot"
:label="$t('reg.submit')" :label="$t('reg.bytelegram')"
>
</q-btn>
<q-btn
rounded
class="flex-item-btn"
outline
icon="fas fa-envelope"
size="md"
color="black"
text-color="white"
to="/signup"
:label="$t('reg.byemail')"
> >
</q-btn> </q-btn>
</div> </div>
<div <div v-else style="margin-top: 10px; text-align: center">
v-else-if="site.confpages.enableReg" Registrati<br />
style="margin-top: 10px; text-align: center"
>
Se non sei ancora Registrato:<br />
<q-btn <q-btn
rounded rounded
size="md" size="md"
color="primary" color="primary"
to="/signup" @click="clickToRegister"
:label="$t('reg.submit')" :label="$t('reg.submit')"
> >
</q-btn> </q-btn>

View File

@@ -85,6 +85,8 @@ export default defineComponent({
const visubuttBOT = ref(false) const visubuttBOT = ref(false)
const isalreadyReg = ref(false) const isalreadyReg = ref(false)
const typePassword = ref('password')
const globalStore = useGlobalStore() const globalStore = useGlobalStore()
const site = computed(() => globalStore.site) const site = computed(() => globalStore.site)
@@ -275,7 +277,7 @@ export default defineComponent({
if (tools.getAskToVerifyReg()) { if (tools.getAskToVerifyReg()) {
if (!signup.username || !signup.profile.teleg_id) { if (!signup.username || !signup.profile.teleg_id) {
tools.copyStringToClipboard($q, signup.aportador_solidario, true) // tools.copyStringToClipboard($q, signup.aportador_solidario, true)
visubuttBOT.value = true visubuttBOT.value = true
// window.location.href = tools.getLinkBotTelegram() // window.location.href = tools.getLinkBotTelegram()
} }
@@ -309,6 +311,11 @@ export default defineComponent({
} }
function showPassword() {
//
typePassword.value = typePassword.value === 'password' ? 'text' : 'password'
}
created() created()
return { return {
@@ -331,6 +338,8 @@ export default defineComponent({
visubuttBOT, visubuttBOT,
isalreadyReg, isalreadyReg,
site, site,
showPassword,
typePassword,
} }
}, },
}) })

View File

@@ -1,90 +1,119 @@
<template> <template>
<div> <div>
<div v-if="need_Telegram && tools.isLogged() && tools.getUsername()" class="text-center"> <div
<q-banner v-if="need_Telegram && tools.isLogged() && tools.getUsername()"
rounded class="text-center"
class="bg-green text-white" >
style="text-align: center;" <q-banner rounded class="bg-green text-white" style="text-align: center">
>
<span class="mybanner"> <span class="mybanner">
{{ tools.getUsername() }} sei già correttamente registrato ed hai accesso alla Piattaforma<br> {{ tools.getUsername() }} sei già correttamente registrato ed hai
accesso alla Piattaforma<br />
</span> </span>
</q-banner> </q-banner>
<div class="row q-ma-sm q-pa-sm justify-center"> <div class="row q-ma-sm q-pa-sm justify-center">
<q-btn class="q-ma-sm" color="primary" icon="fas fa-home" label="Vai alla Home" to="/"></q-btn> <q-btn
class="q-ma-sm"
color="primary"
icon="fas fa-home"
label="Vai alla Home"
to="/"
></q-btn>
<q-btn class="q-ma-sm" color="accent" icon="fas fa-sign" label="Voglio vedere la pagina di Registrazione" @click="visureg = true"></q-btn> <q-btn
<br> class="q-ma-sm"
color="accent"
icon="fas fa-sign"
label="Voglio vedere la pagina di Registrazione"
@click="visureg = true"
></q-btn>
<br />
</div> </div>
</div> </div>
<div v-if="!tools.isLogged() || visureg" <div v-if="!tools.isLogged() || visureg" class="text-center">
class="text-center">
<div> <div>
<div> <div>
<logo></logo> <logo mystyle="width: 60px !important; height: 60px !important; "></logo>
<q-btn class="q-ma-sm" color="positive" icon="fas fa-home" label="Se sei già Registrato CLICCA QUI" to="/"></q-btn> <div
v-if="need_Telegram"
<div v-if="need_Telegram" class="mybanner" v-html="t('pages.need_Telegram')"></div><br> class="mybanner"
v-html="t('pages.need_Telegram')"
></div>
<div v-if="!isalreadyReg && !(visubuttBOT && need_Telegram)"> <div v-if="!isalreadyReg && !(visubuttBOT && need_Telegram)">
<CTitleBanner :title="$t('pages.SignUp')"></CTitleBanner> <CTitleBanner :title="$t('pages.SignUp')"></CTitleBanner>
</div> </div>
</div> </div>
</div> </div>
<div v-if="visubuttBOT && need_Telegram" class="q-gutter-md"> <div v-if="visubuttBOT && need_Telegram" class="q-gutter-md">
<q-banner <q-banner
rounded rounded
class="bg-green-5 text-white" class="bg-green-5 text-white"
style="text-align: center;" style="text-align: center"
> >
<div class="q-ma-md"> <div class="q-ma-md">
<q-btn rounded color="primary" icon="fab fa-telegram" :label="$t('components.authentication.telegram.regbot', {botname: tools.getBotName() })" <q-btn
type="a" rounded
:href="tools.getLinkBotTelegram(signup.aportador_solidario, regexpire)" target="_blank"></q-btn> color="primary"
<br> icon="fab fa-telegram"
:label="
$t('components.authentication.telegram.regbot', {
botname: tools.getBotName(),
})
"
type="a"
:href="
tools.getLinkBotTelegram(signup.aportador_solidario, regexpire)
"
target="_blank"
></q-btn>
<br />
</div> </div>
</q-banner> </q-banner>
</div> </div>
<div v-else-if="!isalreadyReg" class="q-gutter-sm q-mt-sm"> <div v-else-if="!isalreadyReg" class="q-gutter-sm q-mt-sm">
<div v-if="signup.username === 'undefined'"> <div v-if="signup.username === 'undefined'">
<br> <br />
Vai su <b>BOT RISO</b> Telegram ed imposta l'Username di Telegram.<br><br> Vai su <b>BOT RISO</b> Telegram ed imposta l'Username di Telegram.<br /><br />
<q-btn rounded color="primary" icon="fab fa-telegram" label="Apri BOT" <q-btn
type="a" rounded
:href="tools.getLinkBotTelegram(signup.aportador_solidario, regexpire)" target="_blank"></q-btn> color="primary"
<br><br> icon="fab fa-telegram"
label="Apri BOT"
type="a"
:href="
tools.getLinkBotTelegram(signup.aportador_solidario, regexpire)
"
target="_blank"
></q-btn>
<br /><br />
</div> </div>
<div v-else> <div v-else>
<q-input <q-input
v-if="showaportador && signup.aportador_solidario !== tools.APORTADOR_NONE" v-if="
showaportador &&
signup.aportador_solidario !== tools.APORTADOR_NONE
"
bg-color="lightblue" bg-color="lightblue"
:readonly="true" :readonly="true"
v-model="signup.aportador_solidario" v-model="signup.aportador_solidario"
rounded outlined rounded
outlined
@blur="v$.aportador_solidario.$touch" @blur="v$.aportador_solidario.$touch"
:error="v$.aportador_solidario.$error" :error="v$.aportador_solidario.$error"
:error-message="tools.errorMsg('aportador_solidario', v$.aportador_solidario)" :error-message="
tools.errorMsg('aportador_solidario', v$.aportador_solidario)
"
maxlength="20" maxlength="20"
debounce="1000" debounce="1000"
:label="$t('reg.aportador_solidario')"
:label="$t('reg.aportador_solidario')"> >
<template v-slot:prepend> <template v-slot:prepend>
<q-icon name="person"/> <q-icon name="person" />
</template> </template>
</q-input> </q-input>
<!--<q-input <!--<q-input
@@ -104,119 +133,137 @@
</q-input> --> </q-input> -->
<q-input
v-model="signup.email"
rounded
outlined
@update:model-value="changeemail()"
maxlength="50"
debounce="3000"
:rules="[myRuleEmail]"
lazy-rules
:label="$t('reg.email_reg')"
>
<template v-slot:prepend>
<q-icon name="email" />
</template>
</q-input>
<q-input <q-input
v-model="signup.username" v-model="signup.username"
:readonly="tools.getAskToVerifyReg()" :readonly="tools.getAskToVerifyReg() && !site.confpages.enableRegMultiChoice"
rounded outlined rounded
outlined
@blur="v$.username.$touch" @blur="v$.username.$touch"
@update:model-value="changeusername" @update:model-value="changeusername"
:error="v$.username.$error" :error="v$.username.$error"
@keydown.space="(event) => event.preventDefault()" @keydown.space="(event) => event.preventDefault()"
maxlength="20" maxlength="20"
debounce="1000" debounce="1000"
:error-message="tools.errorMsg( 'username', v$.username) || (isalreadyReg ? 'L\'Username è gia stato registrato!' : '')" :error-message="
:label="$t('reg.username_reg')"> tools.errorMsg('username', v$.username) ||
(isalreadyReg ? 'L\'Username è gia stato registrato!' : '')
"
:label="$t('reg.username_reg')"
>
<template v-slot:prepend> <template v-slot:prepend>
<q-icon name="person"/> <q-icon name="person" />
</template> </template>
</q-input>
<q-input
v-model="signup.email"
rounded outlined
@update:model-value="changeemail()"
maxlength="50"
debounce="3000"
:rules="[ myRuleEmail ]"
lazy-rules
:label="$t('reg.email_reg')">
<template v-slot:prepend>
<q-icon name="email"/>
</template>
</q-input> </q-input>
<div v-if="show_namesurname"> <div v-if="show_namesurname">
<q-input <q-input
v-model="signup.name" v-model="signup.name"
rounded outlined rounded
outlined
@blur="v$.name.$touch" @blur="v$.name.$touch"
:error="v$.name.$error" :error="v$.name.$error"
maxlength="30" maxlength="30"
debounce="1000" debounce="1000"
:error-message="tools.errorMsg( 'name', v$.name)" :error-message="tools.errorMsg('name', v$.name)"
:label="$t('reg.name')"> :label="$t('reg.name')"
>
<template v-slot:prepend> <template v-slot:prepend>
<q-icon name="person"/> <q-icon name="person" />
</template> </template>
</q-input> </q-input>
<q-input <q-input
v-model="signup.surname" v-model="signup.surname"
rounded outlined rounded
outlined
:error="v$.surname.$error" :error="v$.surname.$error"
@blur="v$.surname.$touch" @blur="v$.surname.$touch"
maxlength="30" maxlength="30"
debounce="1000" debounce="1000"
:error-message="tools.errorMsg( 'surname', v$.surname)" :error-message="tools.errorMsg('surname', v$.surname)"
:label="$t('reg.surname')"> :label="$t('reg.surname_opt')"
>
<template v-slot:prepend> <template v-slot:prepend>
<q-icon name="person"/> <q-icon name="person" />
</template> </template>
</q-input> </q-input>
</div> </div>
<q-input <q-input
v-model="signup.password" v-model="signup.password"
type="password" :type="typePassword"
rounded outlined rounded
outlined
@blur="v$.password.$touch" @blur="v$.password.$touch"
:error="v$.password.$error" :error="v$.password.$error"
:error-message="`${tools.errorMsg( 'password', v$.password)}`" :error-message="`${tools.errorMsg('password', v$.password)}`"
maxlength="30" maxlength="30"
debounce="1000" debounce="1000"
:label="$t('reg.password_reg')"> :label="$t('reg.password_reg')"
>
<template v-slot:prepend> <template v-slot:append>
<q-icon name="vpn_key"/> <q-btn
:icon="typePassword === `password` ? `fas fa-eye-slash` : `fas fa-eye`"
@click="showPassword"
>
</q-btn>
</template>
<template v-slot:prepend>
<q-icon name="vpn_key" />
</template> </template>
</q-input> </q-input>
<q-input <q-input
v-model="signup.repeatPassword" v-model="signup.repeatPassword"
type="password" :type="typePassword"
maxlength="30" maxlength="30"
rounded outlined rounded
outlined
@blur="v$.repeatPassword.$touch" @blur="v$.repeatPassword.$touch"
:error="v$.repeatPassword.$error" :error="v$.repeatPassword.$error"
:error-message="`${tools.errorMsg( 'repeatpassword', v$.repeatPassword)}`" :error-message="`${tools.errorMsg(
'repeatpassword',
:label="$t('reg.repeatPassword')"> v$.repeatPassword
)}`"
<template v-slot:prepend> :label="$t('reg.repeatPassword')"
<q-icon name="vpn_key"/> >
<template v-slot:append>
<q-btn
:icon="typePassword === `password` ? `fas fa-eye-slash` : `fas fa-eye`"
@click="showPassword"
>
</q-btn>
</template>
<template v-slot:prepend>
<q-icon name="vpn_key" />
</template> </template>
</q-input> </q-input>
<q-input <q-input
v-if="shownationality" v-if="shownationality"
v-model="countryname" v-model="countryname"
:readonly="true" :readonly="true"
rounded outlined rounded
outlined
debounce="1000" debounce="1000"
:label="$t('reg.nationality')"> :label="$t('reg.nationality')"
>
<template v-slot:prepend> <template v-slot:prepend>
<!--<vue-country-code <!--<vue-country-code
@onSelect="selectcountry" @onSelect="selectcountry"
@@ -226,7 +273,6 @@
</vue-country-code>--> </vue-country-code>-->
</template> </template>
</q-input> </q-input>
<!--<vue-tel-input <!--<vue-tel-input
@@ -247,25 +293,28 @@
<q-dialog v-model="showpolicy"> <q-dialog v-model="showpolicy">
<q-card class="dialog_card"> <q-card class="dialog_card">
<q-toolbar class="bg-primary text-white"> <q-toolbar class="bg-primary text-white">
<q-toolbar-title> <q-toolbar-title> Privacy Policy </q-toolbar-title>
Privacy Policy <q-btn
</q-toolbar-title> flat
<q-btn flat round color="white" icon="close" v-close-popup></q-btn> round
color="white"
icon="close"
v-close-popup
></q-btn>
</q-toolbar> </q-toolbar>
<q-card-section class="inset-shadow"> <q-card-section class="inset-shadow">
<PagePolicy <PagePolicy
v-if="site.policy" v-if="site.policy"
:owneremail="site.policy.owneremail" :owneremail="site.policy.owneremail"
:siteName="site.policy.siteName" :siteName="site.policy.siteName"
:ownerDataName="site.policy.ownerDataName" :ownerDataName="site.policy.ownerDataName"
:managerData="site.policy.managerData" :managerData="site.policy.managerData"
:includeData="site.policy.includeData" :includeData="site.policy.includeData"
:url="site.policy.url" :url="site.policy.url"
:lastdataupdate="site.policy.lastdataupdate" :lastdataupdate="site.policy.lastdataupdate"
:country="site.policy.country" :country="site.policy.country"
> >
</PagePolicy>
</PagePolicy>
</q-card-section> </q-card-section>
</q-card> </q-card>
</q-dialog> </q-dialog>
@@ -275,40 +324,57 @@
color="secondary" color="secondary"
@blur="v$.terms.$touch" @blur="v$.terms.$touch"
:error="v$.terms.$error" :error="v$.terms.$error"
:error-message="`${tools.errorMsg( 'terms', v$.terms)}`" :error-message="`${tools.errorMsg('terms', v$.terms)}`"
:label="$t('reg.terms')"> :label="$t('reg.terms')"
>
</q-checkbox> </q-checkbox>
<q-checkbox <q-checkbox
v-if="showadultcheck" v-if="showadultcheck"
v-model="iamadult" v-model="iamadult"
color="secondary" color="secondary"
:label="$t('reg.onlyadult')"> :label="$t('reg.onlyadult')"
>
</q-checkbox> </q-checkbox>
<div v-if="showadultcheck"> <div v-if="showadultcheck">
<br> <br />
</div> </div>
<div class="wrapper"> <div class="column">
<q-btn rounded size="lg" color="positive" @click="submitOk" :disabled='!allowSubmit()' <q-btn
:label="$t('reg.submit')"> rounded
size="lg"
color="positive"
@click="submitOk"
:disabled="!allowSubmit()"
:label="$t('reg.submit')"
>
</q-btn> </q-btn>
</div> </div>
<br/><br/><br/> <br>
Già registrato?
<q-btn
class="q-ma-sm"
text-color="black"
color="white"
icon="fas fa-home"
label="Accedi"
to="/"
size="sm"
></q-btn>
<br /><br /><br />
</div> </div>
</div> </div>
<div v-else-if="isalreadyReg"> <div v-else-if="isalreadyReg">
<q-banner class="bg-negative text-white text-h5" transition-show="jump-down"> <q-banner
Utente già registrato con l'username {{signup.username}} class="bg-negative text-white text-h5"
transition-show="jump-down"
>
Utente già registrato con l'username {{ signup.username }}
</q-banner> </q-banner>
</div> </div>
</div> </div>
</div> </div>
</template> </template>

View File

@@ -17,7 +17,7 @@
} }
#logoimg { #logoimg {
height: 150px; height: 100px;
width: auto; width: auto;
@media screen and (max-width: 600px) { @media screen and (max-width: 600px) {
} }

View File

@@ -72,12 +72,12 @@ h1 {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
max-height: 250px; max-height: 200px;
max-width: 250px; max-width: 200px;
@media (max-width: 718px) { @media (max-width: 718px) {
max-height: 180px; max-height: 130px;
max-width: 180px; max-width: 130px;
} }
} }
@@ -104,6 +104,15 @@ $heightBtn: 100%;
//flex: 0 0 100%; //flex: 0 0 100%;
} }
.flex-item-btn {
padding: 8px;
margin: 10px;
line-height: 20px;
font-weight: bold;
font-size: 2em;
text-align: center;
}
.fade-enter-active, .fade-enter-active,
.fade-leave-active { .fade-leave-active {
transition: opacity .2s; transition: opacity .2s;

View File

@@ -234,6 +234,7 @@ export interface IConfPages {
enableProj: boolean enableProj: boolean
enableTodos: boolean enableTodos: boolean
enableRegByBot: boolean enableRegByBot: boolean
enableRegMultiChoice: boolean
enabledRegNeedTelegram: boolean enabledRegNeedTelegram: boolean
showViewGroups: boolean showViewGroups: boolean
showViewCircuits: boolean showViewCircuits: boolean

View File

@@ -573,6 +573,16 @@
:type="costanti.FieldType.boolean" :type="costanti.FieldType.boolean"
> >
</CMyFieldDb> </CMyFieldDb>
<CMyFieldDb
table="sites"
:title="$t('confpages.enableRegMultiChoice')"
:id="mysite._id"
:rec="mysite"
mykey="confpages"
mysubkey="enableRegMultiChoice"
:type="costanti.FieldType.boolean"
>
</CMyFieldDb>
<CMyFieldDb <CMyFieldDb
table="sites" table="sites"
:title="$t('confpages.enabledRegNeedTelegram')" :title="$t('confpages.enabledRegNeedTelegram')"

View File

@@ -545,7 +545,7 @@ function getRoutesAd(site: ISites) {
separator: false separator: false
}, },
{ {
active: site.confpages && site.confpages.enableReg && !site.confpages.enabledRegNeedTelegram, active: site.confpages && site.confpages.enableReg && (!site.confpages.enabledRegNeedTelegram || site.confpages.enableRegMultiChoice),
order: 1000, order: 1000,
path: '/signup', path: '/signup',
materialIcon: 'how_to_reg', materialIcon: 'how_to_reg',

View File

@@ -516,6 +516,7 @@ const msg_it = {
username_short: 'Username', username_short: 'Username',
name: 'Nome', name: 'Nome',
surname: 'Cognome', surname: 'Cognome',
surname_opt: 'Cognome (facoltativo)',
username_login: 'Username o email', username_login: 'Username o email',
password: 'Password', password: 'Password',
password_reg: 'Scegli una nuova Password', password_reg: 'Scegli una nuova Password',
@@ -615,6 +616,8 @@ const msg_it = {
repeatpassword: 'ripetere la password', repeatpassword: 'ripetere la password',
}, },
byemail: 'Registrati con l\'Email',
bytelegram: 'Registrati con Telegram',
}, },
op: { op: {
qualification: 'Qualifica', qualification: 'Qualifica',
@@ -1321,6 +1324,7 @@ const msg_it = {
enableProj: 'Mostra Project', enableProj: 'Mostra Project',
enableTodos: 'Mostra Todos', enableTodos: 'Mostra Todos',
enableRegByBot: 'Registratione By Bot', enableRegByBot: 'Registratione By Bot',
enableRegMultiChoice: 'Registratione a Scelta tra Email e Telegram',
enabledRegNeedTelegram: 'Reg con Telegram', enabledRegNeedTelegram: 'Reg con Telegram',
showViewGroups: 'Bott. Gruppi', showViewGroups: 'Bott. Gruppi',
showViewUsers: 'Bott. Users', showViewUsers: 'Bott. Users',

View File

@@ -163,6 +163,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
enableProj: false, enableProj: false,
enableTodos: false, enableTodos: false,
enableRegByBot: false, enableRegByBot: false,
enableRegMultiChoice: false,
enabledRegNeedTelegram: false, enabledRegNeedTelegram: false,
showButtHome: false, showButtHome: false,
showViewGroups: false, showViewGroups: false,