- Messo in Linea: Primo Test !
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
const msg_website_it = {
|
||||
ws: {
|
||||
sitename: 'FreePlanet',
|
||||
siteshortname: 'FreePlanet',
|
||||
botname: 'il Bot di FreePlanet',
|
||||
sitename: 'PopoloDelNuovoMondo',
|
||||
siteshortname: 'PDNM',
|
||||
botname: 'il Bot di PdNM',
|
||||
},
|
||||
products: {
|
||||
quantity: 'Quantità',
|
||||
|
||||
@@ -11,16 +11,15 @@ const functionality: IFunctionality = {
|
||||
SHOW_PROFILE: true,
|
||||
SHOW_REG_BUTTON: false,
|
||||
ENABLE_REGISTRATION: true, // Cambiare con true
|
||||
ENABLE_REG_AYNI: false,
|
||||
SHOW_NEWSLETTER: false,
|
||||
SHOW_ONLY_POLICY: false,
|
||||
ENABLE_TODOS_LOADING: true,
|
||||
ENABLE_TODOS_LOADING: false,
|
||||
ENABLE_PROJECTS_LOADING: false,
|
||||
SHOW_IF_IS_SERVER_CONNECTION: false,
|
||||
SHOW_MESSAGES: false,
|
||||
BOOKING_EVENTS: true,
|
||||
ENABLE_ECOMMERCE: true,
|
||||
ENABLE_REG_CNM: true,
|
||||
ENABLE_ECOMMERCE: false,
|
||||
ENABLE_REG_ISP: true,
|
||||
}
|
||||
|
||||
// const SHOW_PROJINTHEMENU = false
|
||||
@@ -366,7 +365,7 @@ const baseroutes: IListRoutes[] = [
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
},
|
||||
{
|
||||
/*{
|
||||
active: true,
|
||||
order: 100,
|
||||
path: '/presentazione',
|
||||
@@ -376,7 +375,7 @@ const baseroutes: IListRoutes[] = [
|
||||
reqauth: false,
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
},
|
||||
},*/
|
||||
{
|
||||
active: true,
|
||||
order: 120,
|
||||
@@ -558,7 +557,7 @@ const baseroutes: IListRoutes[] = [
|
||||
isseparator: true,
|
||||
inmenu: true,
|
||||
},
|
||||
{
|
||||
/*{
|
||||
active: true,
|
||||
order: 80,
|
||||
path: '/calendario-eventi',
|
||||
@@ -568,7 +567,7 @@ const baseroutes: IListRoutes[] = [
|
||||
extraclass: 'isCalendar',
|
||||
inmenu: true,
|
||||
infooter: true
|
||||
},
|
||||
},*/
|
||||
{
|
||||
active: true,
|
||||
order: 1000,
|
||||
|
||||
@@ -12,6 +12,7 @@ import { CVerifyTelegram } from '@src/components/CVerifyTelegram'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
import { useUserStore } from '@store/UserStore'
|
||||
import { static_data } from '@/db/static_data'
|
||||
import MixinBase from '@/mixins/mixin-base'
|
||||
|
||||
|
||||
export default defineComponent({
|
||||
@@ -20,6 +21,7 @@ export default defineComponent({
|
||||
setup() {
|
||||
const globalStore = useGlobalStore()
|
||||
const userStore = useUserStore()
|
||||
const { getValDb } = MixinBase()
|
||||
|
||||
function isEmailVerified() {
|
||||
return userStore.my.verified_email
|
||||
@@ -44,6 +46,10 @@ export default defineComponent({
|
||||
return userStore.isUserOk()
|
||||
}
|
||||
|
||||
function getLinkBotTelegram(): string {
|
||||
return getValDb('TELEG_BOT_LINK', false)
|
||||
}
|
||||
|
||||
return {
|
||||
tools,
|
||||
static_data,
|
||||
@@ -53,6 +59,7 @@ export default defineComponent({
|
||||
isLogged,
|
||||
openrighttoolbar,
|
||||
isUserOk,
|
||||
getLinkBotTelegram,
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
<!--<CMapsEsempio></CMapsEsempio>-->
|
||||
|
||||
|
||||
<div v-if="isLogged()">
|
||||
<CVerifyEmail v-if="!isEmailVerified()">
|
||||
|
||||
@@ -21,15 +22,17 @@
|
||||
</CVerifyTelegram>
|
||||
|
||||
<div v-if="isUserOk()">
|
||||
<q-banner rounded class="bg-primary text-white">
|
||||
<div class="text-h6 text-center">
|
||||
Ora Accedi al Bot Telegram <br>
|
||||
per vedere tutti i Menu e le chat !
|
||||
</div>
|
||||
<template v-slot:action>
|
||||
<q-btn flat color="white" label="Accedi al Bot Telegram" @click="getLinkBotTelegram()"/>
|
||||
</template>
|
||||
</q-banner>
|
||||
<div v-if="isUserOk()">
|
||||
<q-banner rounded class="bg-primary text-white">
|
||||
<div class="text-h6 text-center">
|
||||
Ora Accedi al Bot Telegram <br>
|
||||
per vedere tutti i Menu e le chat !
|
||||
</div>
|
||||
<template v-slot:action>
|
||||
<q-btn icon="fab fa-telegram" flat color="white" label="Accedi al Bot Telegram" type="a" target="__blank" :href="getLinkBotTelegram()"/>
|
||||
</template>
|
||||
</q-banner>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -463,6 +463,7 @@ export const colTableSites = [
|
||||
AddCol({ name: 'host', label_trans: 'sites.host', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'host_test', label_trans: 'sites.host_test', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'portapp', label_trans: 'sites.portapp', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'dir', label_trans: 'sites.dir' }),
|
||||
AddCol({ name: 'dir_test', label_trans: 'sites.dir_test', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'email_from', label_trans: 'sites.email_from', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'email_pwd', label_trans: 'sites.email_pwd', fieldtype: costanti.FieldType.string }),
|
||||
|
||||
Reference in New Issue
Block a user