fixed error in link registration. + upgrade packages

This commit is contained in:
Surya Paolo
2022-11-30 00:22:17 +01:00
parent 92061fe530
commit 5a46821621
10 changed files with 263 additions and 190 deletions

View File

@@ -73,7 +73,6 @@ export default defineComponent({
const { barChartProps, barChartRef } = useBarChart({
chartData,
options,
})
function mounted() {

View File

@@ -1,7 +1,7 @@
<template>
<q-footer
v-if="tools.isUserOk() && site && site.confpages"
:class="($q.dark.isActive ? `bg-black` : `bg-white`) + `small-screen-only`"
:class="($q.dark.isActive ? `bg-black` : `bg-white`) + ` small-screen-only`"
bordered
>
<q-tabs
@@ -42,7 +42,7 @@
icon="fas fa-user-friends"
/>
<q-route-tab
v-if="site.confpages.bookingEvents"
v-if="site.confpages.showViewBooking"
class="mylabfooter"
:label="$t('tabdown.bookings')"
to="/admin/eventlist"

View File

@@ -57,6 +57,8 @@ const msg_website_it = {
SignUp_alreadylista: 'Registrazione per quelli che erano già nella lista di Notevole (del 2019) !',
SignUp2: 'Registrazione',
SignUp3: 'Reg',
SignUp4: 'Reg',
SignUp5: 'Reg',
SignUpBot: 'Registrati',
SignIn: 'Login',
status: 'Statistiche',

View File

@@ -236,7 +236,9 @@ export interface IConfPages {
enableRegByBot: boolean
enabledRegNeedTelegram: boolean
showViewGroups: boolean
showViewCircuits: boolean
showViewUsers: boolean
showViewBooking: boolean
showViewProfile: boolean
enablePwa: boolean
lang: number

View File

@@ -614,6 +614,26 @@
:type="costanti.FieldType.boolean"
>
</CMyFieldDb>
<CMyFieldDb
table="sites"
:title="$t('confpages.showViewBooking')"
:id="mysite._id"
:rec="mysite"
mykey="confpages"
mysubkey="showViewBooking"
:type="costanti.FieldType.boolean"
>
</CMyFieldDb>
<CMyFieldDb
table="sites"
:title="$t('confpages.showViewCircuits')"
:id="mysite._id"
:rec="mysite"
mykey="confpages"
mysubkey="showViewCircuits"
:type="costanti.FieldType.boolean"
>
</CMyFieldDb>
<CMyFieldDb
table="sites"
:title="$t('confpages.showViewProfile')"

View File

@@ -527,7 +527,7 @@ function getRoutesAd(site: ISites) {
order: 1000,
path: '/signup',
materialIcon: 'how_to_reg',
name: 'pages.SignUp',
name: 'pages.SignUp5',
component: () => import('@/views/login/signup_noteleg/signup_noteleg.vue'),
inmenu: false,
infooter: false,
@@ -544,6 +544,39 @@ function getRoutesAd(site: ISites) {
infooter: false,
separator: false
},
{
active: true,
order: 1001,
path: '/signup/:invited/:regexpire',
materialIcon: 'how_to_reg',
name: 'pages.SignUp3',
component: () => import('@/views/login/signup/signup.vue'),
inmenu: false,
infooter: false,
separator: false
},
{
active: site.confpages && site.confpages.enableReg && site.confpages.enabledRegNeedTelegram,
order: 1000,
path: '/signup/:invited/:usernameteleg/:idteleg/:regexpire',
materialIcon: 'how_to_reg',
name: 'pages.SignUp',
component: () => import('@/views/login/signup/signup.vue'),
inmenu: false,
infooter: false,
separator: false
},
{
active: site.confpages && site.confpages.enableReg && site.confpages.enabledRegNeedTelegram,
order: 1000,
path: '/signup/:invited/:usernameteleg/:idteleg',
materialIcon: 'how_to_reg',
name: 'pages.SignUp4',
component: () => import('@/views/login/signup/signup.vue'),
inmenu: false,
infooter: false,
separator: false
},
{
active: site.confpages && site.confpages.enableReg,
order: 2000,

View File

@@ -1319,6 +1319,8 @@ const msg_it = {
enabledRegNeedTelegram: 'Reg con Telegram',
showViewGroups: 'Bott. Gruppi',
showViewUsers: 'Bott. Users',
showViewCircuits: 'Bott. Circuiti',
showViewBooking: 'Bott. Prenotaz.',
showViewProfile: 'Bott. Profile',
enablePwa: 'PWA',

View File

@@ -166,7 +166,9 @@ export const useGlobalStore = defineStore('GlobalStore', {
enabledRegNeedTelegram: false,
showButtHome: false,
showViewGroups: false,
showViewCircuits: false,
showViewUsers: false,
showViewBooking: false,
showViewProfile: false,
enablePwa: false,
lang: costanti.Lang.IT,