- Export Email

- Etichetta Facilitatori
This commit is contained in:
Paolo Arena
2022-07-11 23:19:52 +02:00
parent 42cb624f41
commit 7f25ca4717
31 changed files with 114 additions and 94 deletions

View File

@@ -1,4 +1,4 @@
APP_VERSION="0.3.23"
APP_VERSION="0.3.24"
SERVICE_WORKER_FILE="service-worker.js"
APP_ID="13"
DIRECTORY_LOCAL="newfreeplanet"

View File

@@ -1,4 +1,4 @@
APP_VERSION="0.3.23"
APP_VERSION="0.3.24"
SERVICE_WORKER_FILE="service-worker.js"
APP_ID="13"
DIRECTORY_LOCAL=newfreeplanet

View File

@@ -198,7 +198,7 @@ const routes_manager: IListRoutes[] = [
level_parent: 0,
level_child: 0.5,
onlyManager: true,
onlyTutor: true
onlyFacilitatore: true
},
/*
{
@@ -213,7 +213,7 @@ const routes_manager: IListRoutes[] = [
level_parent: 0,
level_child: 0.5,
onlyManager: true,
onlyTutor: true
onlyFacilitatore: true
},
*/
@@ -229,7 +229,7 @@ const routes_manager: IListRoutes[] = [
level_parent: 0,
level_child: 0.5,
onlyManager: true,
onlyTutor: false
onlyFacilitatore: false
},
{
active: true,
@@ -322,7 +322,7 @@ const routes_manager: IListRoutes[] = [
level_child: 0.5,
onlyAdmin: true,
onlyManager: true
// onlyTutor: true
// onlyFacilitatore: true
},
{
active: true,
@@ -549,7 +549,7 @@ const baseroutes: IListRoutes[] = [
infooter: true,
onlyAdmin: true,
onlyManager: true,
onlyTutor: true,
onlyFacilitatore: true,
onlyEditor: true
},
...routes_manager,

View File

@@ -1,4 +1,4 @@
APP_VERSION="0.3.23"
APP_VERSION="0.3.24"
SERVICE_WORKER_FILE="service-worker.js"
APP_ID="13"
DIRECTORY_LOCAL="newfreeplanet"

View File

@@ -211,7 +211,7 @@ const routes_manager: IListRoutes[] = [
level_parent: 0,
level_child: 0.5,
onlyManager: true,
onlyTutor: true
onlyFacilitatore: true
},
/*
{
@@ -226,7 +226,7 @@ const routes_manager: IListRoutes[] = [
level_parent: 0,
level_child: 0.5,
onlyManager: true,
onlyTutor: true
onlyFacilitatore: true
},
*/
@@ -242,7 +242,7 @@ const routes_manager: IListRoutes[] = [
level_parent: 0,
level_child: 0.5,
onlyManager: true,
onlyTutor: false
onlyFacilitatore: false
},
{
active: true,
@@ -349,7 +349,7 @@ const routes_manager: IListRoutes[] = [
level_child: 0.5,
onlyAdmin: true,
onlyManager: true
// onlyTutor: true
// onlyFacilitatore: true
},
{
active: true,
@@ -583,7 +583,7 @@ const baseroutes: IListRoutes[] = [
infooter: true,
onlyAdmin: true,
onlyManager: true,
onlyTutor: true,
onlyFacilitatore: true,
onlyEditor: true
},
...routes_manager,

View File

@@ -1,4 +1,4 @@
APP_VERSION="0.3.23"
APP_VERSION="0.3.24"
SERVICE_WORKER_FILE="service-worker.js"
APP_ID="12"
DIRECTORY_LOCAL="newfreeplanet"

View File

@@ -211,7 +211,7 @@ const routes_manager: IListRoutes[] = [
level_parent: 0,
level_child: 0.5,
onlyManager: true,
onlyTutor: true
onlyFacilitatore: true
},
/*
{
@@ -226,7 +226,7 @@ const routes_manager: IListRoutes[] = [
level_parent: 0,
level_child: 0.5,
onlyManager: true,
onlyTutor: true
onlyFacilitatore: true
},
*/
@@ -242,7 +242,7 @@ const routes_manager: IListRoutes[] = [
level_parent: 0,
level_child: 0.5,
onlyManager: true,
onlyTutor: false
onlyFacilitatore: false
},
{
active: true,
@@ -335,7 +335,7 @@ const routes_manager: IListRoutes[] = [
level_child: 0.5,
onlyAdmin: true,
onlyManager: true
// onlyTutor: true
// onlyFacilitatore: true
},
{
active: true,
@@ -548,7 +548,7 @@ const baseroutes: IListRoutes[] = [
infooter: true,
onlyAdmin: true,
onlyManager: true,
onlyTutor: true,
onlyFacilitatore: true,
onlyEditor: true
},
...routes_manager,

View File

@@ -1,4 +1,4 @@
APP_VERSION="0.3.23"
APP_VERSION="0.3.24"
SERVICE_WORKER_FILE="service-worker.js"
APP_ID="13"
DIRECTORY_LOCAL="newfreeplanet"

View File

@@ -1,4 +1,4 @@
APP_VERSION="0.3.23"
APP_VERSION="0.3.24"
SERVICE_WORKER_FILE="service-worker.js"
APP_ID="13"
DIRECTORY_LOCAL=newfreeplanet

View File

@@ -189,7 +189,7 @@ const routes_ris: IListRoutes[] = [
level_parent: 0.5,
level_child: 0.5,
onlyManager: true,
onlyTutor: true
onlyFacilitatore: true
},
{
active: true,
@@ -203,7 +203,7 @@ const routes_ris: IListRoutes[] = [
level_parent: 0.5,
level_child: 0.5,
onlyManager: true,
onlyTutor: true
onlyFacilitatore: true
},
{
active: true,
@@ -217,7 +217,7 @@ const routes_ris: IListRoutes[] = [
level_parent: 0.5,
level_child: 0.5,
onlyManager: true,
onlyTutor: true
onlyFacilitatore: true
},
]
@@ -251,7 +251,7 @@ const routes_manager: IListRoutes[] = [
level_parent: 0,
level_child: 0.5,
onlyManager: true,
onlyTutor: true
onlyFacilitatore: true
},
/*
{
@@ -266,7 +266,7 @@ const routes_manager: IListRoutes[] = [
level_parent: 0,
level_child: 0.5,
onlyManager: true,
onlyTutor: true
onlyFacilitatore: true
},
*/
@@ -298,7 +298,7 @@ const routes_manager: IListRoutes[] = [
level_parent: 0,
level_child: 0.5,
onlyManager: true,
onlyTutor: false
onlyFacilitatore: false
},
{
active: true,
@@ -405,7 +405,7 @@ const routes_manager: IListRoutes[] = [
level_child: 0.5,
onlyAdmin: true,
onlyManager: true
// onlyTutor: true
// onlyFacilitatore: true
},
{
active: true,
@@ -685,7 +685,7 @@ const baseroutes: IListRoutes[] = [
infooter: false,
onlyAdmin: true,
onlyManager: true,
onlyTutor: true,
onlyFacilitatore: true,
onlyEditor: true
},
...routes_manager,

View File

@@ -1,4 +1,4 @@
APP_VERSION="0.3.23"
APP_VERSION="0.3.24"
SERVICE_WORKER_FILE="service-worker.js"
APP_ID="14"
DIRECTORY_LOCAL="newfreeplanet"

View File

@@ -1,4 +1,4 @@
APP_VERSION="0.3.23"
APP_VERSION="0.3.24"
SERVICE_WORKER_FILE="service-worker.js"
APP_ID="14"
DIRECTORY_LOCAL=newfreeplanet

View File

@@ -188,7 +188,7 @@ const routes_ris: IListRoutes[] = [
level_parent: 0.5,
level_child: 0.5,
onlyManager: true,
onlyTutor: true
onlyFacilitatore: true
},
{
active: true,
@@ -202,7 +202,7 @@ const routes_ris: IListRoutes[] = [
level_parent: 0.5,
level_child: 0.5,
onlyManager: true,
onlyTutor: true
onlyFacilitatore: true
},
{
active: true,
@@ -216,7 +216,7 @@ const routes_ris: IListRoutes[] = [
level_parent: 0.5,
level_child: 0.5,
onlyManager: true,
onlyTutor: true
onlyFacilitatore: true
},
]
@@ -250,7 +250,7 @@ const routes_manager: IListRoutes[] = [
level_parent: 0,
level_child: 0.5,
onlyManager: true,
onlyTutor: true
onlyFacilitatore: true
},
/*
{
@@ -265,7 +265,7 @@ const routes_manager: IListRoutes[] = [
level_parent: 0,
level_child: 0.5,
onlyManager: true,
onlyTutor: true
onlyFacilitatore: true
},
*/
@@ -297,7 +297,7 @@ const routes_manager: IListRoutes[] = [
level_parent: 0,
level_child: 0.5,
onlyManager: true,
onlyTutor: false
onlyFacilitatore: false
},
{
active: true,
@@ -432,7 +432,7 @@ const routes_manager: IListRoutes[] = [
level_child: 0.5,
onlyAdmin: true,
onlyManager: true
// onlyTutor: true
// onlyFacilitatore: true
},
{
active: true,
@@ -548,7 +548,7 @@ const baseroutes: IListRoutes[] = [
infooter: false,
onlyAdmin: true,
onlyManager: true,
onlyTutor: true,
onlyFacilitatore: true,
onlyEditor: true
},
...routes_manager,

View File

@@ -617,9 +617,9 @@ export const shared_consts = {
icon: 'fas fa-user-tie',
color: 'blue',
},
Tutor: {
Facilitatore: {
value: 8,
label: 'dashboard.tutor',
label: 'dashboard.facilitatore',
icon: 'fas fa-user-tie',
color: 'fuchsia',
},

View File

@@ -7,7 +7,7 @@
</template>
<template v-slot:control>
<div class="self-center full-width no-outline text-center wrapword text-h5" tabindex="0">{{texttocopy}}</div>
<div class="self-center full-width no-outline text-center wrapword text-h5" tabindex="0">{{tools.firstchars(texttocopy, 300)}}</div>
</template>
</q-field>
</div>

View File

@@ -199,7 +199,7 @@
<div v-if="isSocioResidente()" class="text-weight-bold text-user q-px-xs bg-amber">Residente</div>
<div v-if="isConsiglio()" class="text-weight-bold text-user q-px-xs bg-deep-orange-10">Consiglio</div>
<div v-if="isManager()" class="text-weight-bold text-user bg-blue q-px-xs">Segreteria</div>
<div v-if="isTutor()" class="text-weight-bold text-user q-px-xs">Tutor</div>
<div v-if="isTutor()" class="text-weight-bold text-user q-px-xs">Facilitatore</div>
<div v-if="isTratuttrici()" class="text-weight-bold text-user q-px-xs">Editor</div>
</div>
<div v-if="!tools.isLogged()" class="text-user text-italic bg-red">

View File

@@ -189,7 +189,7 @@ const routes_ris: IListRoutes[] = [
level_parent: 0.5,
level_child: 0.5,
onlyManager: true,
onlyTutor: true
onlyFacilitatore: true
},
{
active: true,
@@ -203,7 +203,7 @@ const routes_ris: IListRoutes[] = [
level_parent: 0.5,
level_child: 0.5,
onlyManager: true,
onlyTutor: true
onlyFacilitatore: true
},
{
active: true,
@@ -217,7 +217,7 @@ const routes_ris: IListRoutes[] = [
level_parent: 0.5,
level_child: 0.5,
onlyManager: true,
onlyTutor: true
onlyFacilitatore: true
},
]
@@ -251,7 +251,7 @@ const routes_manager: IListRoutes[] = [
level_parent: 0,
level_child: 0.5,
onlyManager: true,
onlyTutor: true
onlyFacilitatore: true
},
{
active: true,
@@ -265,7 +265,7 @@ const routes_manager: IListRoutes[] = [
level_parent: 0,
level_child: 0.5,
onlyManager: true,
onlyTutor: true
onlyFacilitatore: true
},
/*
{
@@ -280,7 +280,7 @@ const routes_manager: IListRoutes[] = [
level_parent: 0,
level_child: 0.5,
onlyManager: true,
onlyTutor: true
onlyFacilitatore: true
},
*/
@@ -312,7 +312,7 @@ const routes_manager: IListRoutes[] = [
level_parent: 0,
level_child: 0.5,
onlyManager: true,
onlyTutor: false
onlyFacilitatore: false
},
{
active: true,
@@ -419,7 +419,7 @@ const routes_manager: IListRoutes[] = [
level_child: 0.5,
onlyAdmin: true,
onlyManager: true
// onlyTutor: true
// onlyFacilitatore: true
},
{
active: true,
@@ -699,7 +699,7 @@ const baseroutes: IListRoutes[] = [
infooter: false,
onlyAdmin: true,
onlyManager: true,
onlyTutor: true,
onlyFacilitatore: true,
onlyEditor: true
},
...routes_manager,

View File

@@ -82,7 +82,7 @@ export default defineComponent({
if (elem.onlySocioResidente) menu += ' isSocioResidente'
if (elem.onlyConsiglio) menu += ' isConsiglio'
if (elem.onlyDepartment) menu += ' isDepartment'
if (elem.onlyTutor) menu += ' isTutor'
if (elem.onlyFacilitatore) menu += ' isTutor'
if (elem.onlyEditor) menu += ' isEditor'
}

View File

@@ -353,7 +353,7 @@ export interface IListRoutes {
onlyConsiglio?: boolean
onlyNotSoci?: boolean
onlyDepartment?: boolean
onlyTutor?: boolean
onlyFacilitatore?: boolean
color?: string
onlyEditor?: boolean
extraclass?: string

View File

@@ -1,6 +1,7 @@
import { defineComponent, onMounted, ref } from 'vue'
import { CMyPage } from '@/components/CMyPage'
import { CCopyBtn } from '@/components/CCopyBtn'
import { CKeyAndValue } from '@/components/CKeyAndValue'
import { CGridTableRec } from '@/components/CGridTableRec'
import { tools } from '@store/Modules/tools'
@@ -10,18 +11,21 @@ import { fieldsTable } from '@src/store/Modules/fieldsTable'
import { shared_consts } from '@/common/shared_vuejs'
import { useUserStore } from '@store/UserStore'
import { costanti } from '@costanti'
import { useQuasar } from 'quasar'
export default defineComponent({
name: 'userPanel',
components: { CMyPage, CKeyAndValue },
components: { CMyPage, CKeyAndValue, CCopyBtn },
setup() {
const arrfilterand: any = ref([])
const $q = useQuasar()
const search = ref('')
const colVisib = ref('')
const mycolumns = ref([])
const myuser = ref({})
const risultato = ref('')
const userStore = useUserStore()
@@ -52,6 +56,12 @@ export default defineComponent({
await refresh()
}
async function exportListaEmail() {
risultato.value = await tools.exportListaEmail()
tools.copyStringToClipboard($q, risultato.value, false)
}
onMounted(mounted)
return {
@@ -65,6 +75,8 @@ export default defineComponent({
refresh,
mycolumns,
colVisib,
exportListaEmail,
risultato,
}
}
})

View File

@@ -1,6 +1,12 @@
<template>
<CMyPage img="" :title="$t('otherpages.admin.userpanel')" keywords="" :description="$t('otherpages.admin.userpanel')">
<q-btn color="green" label="Esporta Lista Email" @click="exportListaEmail"></q-btn>
<!--<CCopyBtn title="Copia Dati" :texttocopy="risultato"></CCopyBtn>-->
<div v-html="risultato"></div>
<div
class="row justify-center vertical-middle">

View File

@@ -280,16 +280,16 @@ const msg_enUs = {
nave_in_partenza: 'on Departure on',
nave_in_chiusura: 'Closing Gift Chat',
nave_partita: 'departed on',
tutor: 'Tutor',
/* sonomediatore: 'When you become a Medalist you are contacted by a <strong>TUTOR</strong>, with him you must:<br><ol class="list">' +
'<li>Open your <strong>Gift Chat</strong> (you as owner and the Tutor as administrator) with this name:<br><strong>{nomenave}</strong></li>' +
'<li>Click on the chat name at the top -> Edit -> Administrators -> "Add Administrator", select the Tutor in the list.</li>' +
facilitatore: 'Facilitatore',
/* sonomediatore: 'When you become a Medalist you are contacted by a <strong>FACILITATORE</strong>, with him you must:<br><ol class="list">' +
'<li>Open your <strong>Gift Chat</strong> (you as owner and the Facilitatore as administrator) with this name:<br><strong>{nomenave}</strong></li>' +
'<li>Click on the chat name at the top -> Edit -> Administrators -> "Add Administrator", select the Facilitatore in the list.</li>' +
'<li>You have to configure the chat so that whoever enters also sees the previous posts (click on the chat name at the top, click on edit,' +
'change "new members\' history" from hidden to visible.</li>' +
'<li>To find the <strong>link to the newly created Chat</strong>: Click on the Chat name at the top, click on the Pencil -> "Group Type" -> "invite to group via link", click on "copy link" and paste it in the <strong>"Link Gift Chat"</strong></li>" + box below.' +
'<li>Send the Gift Chat Link to all Donors by clicking on the button below.</li></ol>.',
*/
sonomediatore: 'When you are a MEDIATOR you will be contacted by <strong>TUTOR AYNI</strong> by message Chat <strong>AYNI BOT</strong>',
sonomediatore: 'When you are a MEDIATOR you will be contacted by <strong>FACILITATORE AYNI</strong> by message Chat <strong>AYNI BOT</strong>',
superchat: 'Note: ONLY if you have PAYMENT problems, or if you want to be REPLACED, two Tutors are waiting to help you on the Chat:<br><a href="{link_superchat}" target="_blank">Get into Gift Chat</a>.',
sonodonatore: '<ol class="lista"><li>When you are in this position, you will be invited (via a message on <strong>AYNI BOT</strong>) to make the Gift. You will no longer need to enter a Chat.</li>'
+ '<li>You will have 3 days to make the Gift (then you will be replaced), in the payment method that you will find written on the message in <strong>AYNI BOT</strong>.<br></ol>',

View File

@@ -249,19 +249,19 @@ const msg_es = {
nave_in_partenza: 'que Sale el',
nave_in_chiusura: 'Cierre Gift Chat',
nave_partita: 'partió en',
tutor: 'Tutor',
facilitatore: 'Facilitatore',
Editor: 'Editor',
/* Cuando te conviertes en Mediador vienes contactado por un <strong>TUTOR</strong>, con él debes:<br><ol class="lista">' +
'<li>Abrir tu <strong>Gift Chat</strong> (tu como propietario, y el Tutor ' +
/* Cuando te conviertes en Mediador vienes contactado por un <strong>FACILITATORE</strong>, con él debes:<br><ol class="lista">' +
'<li>Abrir tu <strong>Gift Chat</strong> (tu como propietario, y el Facilitatore ' +
'como administrador) con este nombre:<br><strong>{nomenave}</strong></li>' +
'<li>Haz clic en tu nombre en la chat en la parte de arriba-> Modifica -> Administradores -> "Agregar Administrador", selecciona el Tutor en el elenco.</li>' +
'<li>Haz clic en tu nombre en la chat en la parte de arriba-> Modifica -> Administradores -> "Agregar Administrador", selecciona el Facilitatore en el elenco.</li>' +
'<li>Debes configurar la chat en modo que quien entre vea también los post precedentes (haz clic en el nombre en la chat arriba, haz clic en modificar, ' +
'cambia la "cronología para los nuevos miembros" de oculto a visible.</li>' +
'<li>Para encontrar el <strong>link de la Chat recién creada</strong>: haz clic en el nombre de la chat en la parte de arriba, haz clic sobre el Lápiz-> "Tipo de Grupo" -> "invita al grupo tràmite link", haz clic en "copiar link" y pégalo aquí abajo, sobre la casilla <strong>"Link Gift Chat"</strong></li>' +
'<li>Envía el Link de la Gift Chat a todos los Donadores, haciendo clic en el botón aquí abajo.</li></ol>',
*/
sonomediatore: 'Cuando seas un MEDIADOR serás contactado por <strong>TUTOR AYNI</strong> a través de un mensaje en el Chat <strong>AYNI BOT</strong>.',
sonomediatore: 'Cuando seas un MEDIADOR serás contactado por <strong>FACILITATORE AYNI</strong> a través de un mensaje en el Chat <strong>AYNI BOT</strong>.',
superchat: 'Nota: SOLO si tienes problemas de PAGO, o si quieres ser REEMPLAZADO, dos Tutores están esperando para ayudarte en el Chat:<br><a href="{link_superchat}" target="_blank">Entrar en el Chat de Regalos</a>.',
sonodonatore: '<ol class="lista"><li>Cuando estás en esta posición, vendrás invitado (desde un mensaje en el Chat AYNI BOT) para hacer tu regalo. </li>'
+ '<li> Tendrás <strong>3 días</strong> para hacer tu regalo, en la modalidad de pago que encontrarás escrita en el mensaje. <br></ol>',

View File

@@ -219,7 +219,7 @@ const msg_fr = {
nave_in_partenza: 'part le',
nave_in_chiusura: 'Clôture Gift Chat',
nave_partita: 'parti sur',
tutor: 'Tuteur',
facilitatore: 'Tuteur',
/* Quand vous devenez Médiateur vous êtes contacté par un <strong>TUTEUR</strong>, avec lui vous devez:<br><ol class="lista">' +
'<li>Ouvrir votre <strong>Gift Chat</strong> (vous comme propriétaire et le Tuteur ' +
'comme administrateur) avec ce nom:<br><strong>{nomenave}</strong></li>' +
@@ -229,7 +229,7 @@ const msg_fr = {
'<li>Pour trouver le <strong>link du Chat à peine crée</strong>: cliquez sur le nom du chat en haut, cliquez sur le Crayon -> "Type de Groupe" -> "invitez dans le groupe à travers le link", cliquez sur "copiez link" et collez-le ci-dessous, dans la case <strong>"Link Gift Chat"</strong></li>' +
'<li>Envoyez le Link de la Gift Chat à tous les Donateurs, en cliquant sur le boutton ci-dessous .</li></ol>',
*/
sonomediatore: 'Lorsque vous êtes un MEDIATEUR, vous serez contacté par <strong>TUTOR AYNI</strong> via un message sur le Chat <strong>AYNI BOT</strong>.',
sonomediatore: 'Lorsque vous êtes un MEDIATEUR, vous serez contacté par <strong>FACILITATORE AYNI</strong> via un message sur le Chat <strong>AYNI BOT</strong>.',
superchat: 'Note : SEULEMENT si vous avez des problèmes de PAIEMENT, ou si vous voulez être REMPLACÉ, deux tuteurs vous attendent pour vous aider sur le Chat:<br><a href="{link_superchat}" target="_blank">Get into Gift Chat</a>.',
sonodonatore: '<ol class="lista"><li>Quand vous êtes dans cette position, vous serez invité pour faire votre cadeau</li>'
+ '<li>Vous aurez <strong>3 jours</strong> pour faire votre cadeau.<br></ol>',

View File

@@ -299,20 +299,20 @@ const msg_it = {
nave_in_partenza: 'La Nave salperà il',
nave_in_chiusura: 'Chiusura Gift Chat',
nave_partita: 'Partita il',
tutor: 'Tutor',
facilitatore: 'Facilitatore',
Editor: 'Editor',
zoomeri: 'Zoomeri',
/* sonomediatore: 'Quando diventi Meditore vieni contattato da un <strong>TUTOR</strong>, con lui devi:<br><ol class="lista">' +
'<li>Aprire la tua <strong>Gift Chat</strong> (tu come proprietario e il Tutor ' +
/* sonomediatore: 'Quando diventi Meditore vieni contattato da un <strong>FACILITATORE</strong>, con lui devi:<br><ol class="lista">' +
'<li>Aprire la tua <strong>Gift Chat</strong> (tu come proprietario e il Facilitatore ' +
'come amministratore) con questo nome:<br><strong>{nomenave}</strong></li>' +
'<li>Clicca sul nome della chat in alto -> Modifica -> Amministratori -> "Aggiungi Amministratore", seleziona il Tutor nellelenco.</li>' +
'<li>Clicca sul nome della chat in alto -> Modifica -> Amministratori -> "Aggiungi Amministratore", seleziona il Facilitatore nellelenco.</li>' +
'<li>Devi configurare la chat in modo che chi entra vede anche i post precedenti (clicca sul nome della chat in alto, clicca su modifica, ' +
'cambia la "cronologia per i nuovi membri" da nascosta a visibile.</li>' +
'<li>Per trovare il <strong>link della Chat appena creata</strong>: clicca sul nome della chat in alto, clicca sulla Matita -> "Tipo di Gruppo" -> "invita nel gruppo tramite link", clicca su "copia link" e incollalo qui sotto, sulla casella <strong>"Link Gift Chat"</strong></li>' +
'<li>Invia il Link della Gift Chat a tutti i Donatori, cliccando sul bottone qui sotto.</li></ol>',
*/
sonomediatore: 'Quando sei MEDIATORE verrai contattato dai <strong>TUTOR AYNI</strong> tramite un messaggio sulla Chat <strong>AYNI BOT</strong> !',
superchat: 'Nota Bene: Non inviarci la ricevuta, non ci occorre. Attendi il messaggio di conferma da parte del Sognatore (sulla Chat AYNI BOT).<br>SOLO se hai problemi di PAGAMENTO, o ti manca la conferma del SOGNATORE (dopo aver atteso almeno 12 ore) o se vuoi essere SOSTITUITO, due Tutor ti aspettano per aiutarti sulla Chat:<br><a href="{link_superchat}" target="_blank">Entra nella Gift Chat</a>',
sonomediatore: 'Quando sei MEDIATORE verrai contattato dai <strong>FACILITATORE AYNI</strong> tramite un messaggio sulla Chat <strong>AYNI BOT</strong> !',
superchat: 'Nota Bene: Non inviarci la ricevuta, non ci occorre. Attendi il messaggio di conferma da parte del Sognatore (sulla Chat AYNI BOT).<br>SOLO se hai problemi di PAGAMENTO, o ti manca la conferma del SOGNATORE (dopo aver atteso almeno 12 ore) o se vuoi essere SOSTITUITO, due Facilitatore ti aspettano per aiutarti sulla Chat:<br><a href="{link_superchat}" target="_blank">Entra nella Gift Chat</a>',
sonodonatore: '<ol class="lista"><li>Quando sei in questa posizione, verrai invitato (tramite un messaggio su <strong>AYNI BOT</strong>) ad effettuare il Dono. Non sarà più necessario entrare in una Chat.</li>'
+ '<li><strong>Avrai tempo 3 giorni per fare il Regalo</strong> (poi verrai sostituito), nella modalità di pagamento che troverai scritto sul messaggio in <strong>AYNI BOT</strong> .<br></ol>',
sonodonatore_seconda_tessitura: '<ol class="lista"><li>Qui tu sei Mediatore e anche Donatore, ma essendo la seconda Tessitura (il Ritorno), non avrai bisogno di effettuare nuovamente il dono<br></ol>',

View File

@@ -229,17 +229,17 @@ const msg_pt = {
nave_in_partenza: 'em Partida em',
nave_in_chiusura: 'Encerramento Gift Chat',
nave_partita: 'que partiu em',
tutor: 'Tutor',
/* Quando você se torna um mediador, um <strong>TUTOR</strong> entra em contato com você, e deve:<br>' +
'<ol class="lista"><li>Abrir seu <strong>bate-papo</strong> do presente (você como proprietário e o tutor como administrador) com este nome: <br><strong>{nomenave}</strong></li>' +
'<li>Clique no nome do bate-papo na parte superior - > Editar -> Administradores -> "Adicionar administrador", selecione o Tutor na lista.</li>' +
facilitatore: 'Facilitatore',
/* Quando você se torna um mediador, um <strong>FACILITATORE</strong> entra em contato com você, e deve:<br>' +
'<ol class="lista"><li>Abrir seu <strong>bate-papo</strong> do presente (você como proprietário e o facilitatore como administrador) com este nome: <br><strong>{nomenave}</strong></li>' +
'<li>Clique no nome do bate-papo na parte superior - > Editar -> Administradores -> "Adicionar administrador", selecione o Facilitatore na lista.</li>' +
'<li>Você deve configurar o bate-papo de forma que quem entra depois também veja as postagens anteriores (clique no nome do bate-papo na parte superior, clique em editar' +
' altere o "histórico de novos membros" de oculto para visível.</li>' +
'<li>Para encontrar o link Bate-papo Recém-criado: Clique no nome do bate-papo na parte superior, clique no lápis -> "Tipo de grupo" -> "Convidar grupo via link", clique em "Copiar link" e cole-o abaixo' +
', na caixa "Link do bate-papo para presente"'+
'Envie o link do bate-papo para presente a todos os doadores, clicando no botão abaixo.</li></ol>',
*/
sonomediatore: 'Quando você for um MEDIATOR será contactado por <strong>TUTOR AYNI</strong> através de uma mensagem no Chat <strong>AYNI BOT</strong>.',
sonomediatore: 'Quando você for um MEDIATOR será contactado por <strong>FACILITATORE AYNI</strong> através de uma mensagem no Chat <strong>AYNI BOT</strong>.',
superchat: 'Nota: SOMENTE se tiver problemas de PAGAMENTO, ou se quiser ser REPRESENTADO, dois Tutores estão à espera para o ajudar no Chat:<br>a href="{link_superchat}" target="_blank">Entre no Gift Chat</a>.',
sonodonatore: '<ol class="lista"><li>Quando você estiver nessa posição, você será convidado (por meio de uma mensagem em <strong>AYNI BOT</strong>) a entrar em um bate-papo de presentes (Telegram) e aqui também encontrará os outros 7 doadores, o mediador, o sonhador e um representante da equipe.</li>'
+ '<li>Você terá 3 dias para entrar no bate-papo para fazer seu presente.<br></ol>',

View File

@@ -223,9 +223,9 @@ const msg_si = {
nave_in_partenza: 'ladja v odhodu',
nave_in_chiusura: 'Zapiranje Gift- Darilni klepet',
nave_partita: 'levo naprej',
tutor: 'Tutor',
/* Ko postaneš Mediator te kontaktira en <strong>TUTOR</strong>, z njim moraš:<br><ol class="lista">' +
'<li>Odpret svoj <strong>Gift- Darilni klepet</strong> (ti kot lastnik in Tutor ' +
facilitatore: 'Facilitatore',
/* Ko postaneš Mediator te kontaktira en <strong>FACILITATORE</strong>, z njim moraš:<br><ol class="lista">' +
'<li>Odpret svoj <strong>Gift- Darilni klepet</strong> (ti kot lastnik in Facilitatore ' +
'kot administrator) s tem imenom:<br><strong>{nomenave}</strong></li>' +
'<li>Klikni na ime klepeta na vrhu-> Popravi -> Administratorji -> "Dodaj Administratorja", izberi Tutorja v imeniku.</li>' +
'<li>Moraš nastaviti klepet na način, da vsak, ki vstopi vidi predhodne objave(klikni na ime klepeta na vrhu, klikni na popravi, ' +
@@ -233,7 +233,7 @@ const msg_si = {
'<li>Da najdeš <strong>link pravkar ustvarjenega klepeta </strong>: klikni na ime klepeta na vrhu, klikni na svinčnik -> "Vrsta Skupine" -> "z linkom povabi v skupino", klikni na"kopiraj link" in prilepi tu spodaj, v okvir<strong>"Link Gift Klepet"</strong></li>' +
'<li>Pošlji Link Gift Klepeta vsem Donatorjem, tako, da klikneš na spodnji gumb.</li></ol>',
*/
sonomediatore: 'Ko ste MEDIATOR, vas bo <strong>TUTOR AYNI</strong> poklical preko sporočila na klepetu <strong>AYNI BOT</strong>',
sonomediatore: 'Ko ste MEDIATOR, vas bo <strong>FACILITATORE AYNI</strong> poklical preko sporočila na klepetu <strong>AYNI BOT</strong>',
superchat: 'Pozorno preberi: SAMO če imaš težave s PLAČILOM, ali želiš biti ZAMENJAN, te dva Tutorja pričakujeta, da ti lahko pomagata v Klepetu:<br><a href="{link_superchat}" target="_blank">Vstopi v Super Klepet</a>',
sonodonatore: '<ol class="lista"><li>Ko si na tej poziciji, boš povabljen, da vstopiš v <strong>Gift Klepet</strong> (Telegram) in tam boš našel še ostalih 7 Donatorjev, Mediatorja, Sanjača in enega predstavnika Tima.</li>'
+ '<li>Imel boš 3 dni časa v za izpeljati vplačilo.<br></ol>',

View File

@@ -1494,7 +1494,7 @@ const colnavi = [
AddCol({ name: 'num_tess', label_trans: 'num_tess', fieldtype: costanti.FieldType.number }),
AddCol({ name: 'note', label_trans: 'note', fieldtype: costanti.FieldType.string }),
// AddCol({ name: 'note_interne', label_trans: 'note_interne', fieldtype: costanti.FieldType.string }),
// AddCol({ name: 'tutor', label_trans: 'tutor', fieldtype: costanti.FieldType.string }),
// AddCol({ name: 'facilitatore', label_trans: 'facilitatore', fieldtype: costanti.FieldType.string }),
AddCol(DeleteRec),
AddCol(DuplicateRec),
]
@@ -1516,7 +1516,7 @@ const colnavepersistente = [
AddCol({ name: 'DoniConfermati', label_trans: 'note_bot', fieldtype: costanti.FieldType.number }),
AddCol({ name: 'DoniTotali', label_trans: 'note_bot', fieldtype: costanti.FieldType.string }),
AddCol({ name: 'note_interne', label_trans: 'note_interne', fieldtype: costanti.FieldType.string }),
AddCol({ name: 'tutor', label_trans: 'tutor', fieldtype: costanti.FieldType.string }),
AddCol({ name: 'facilitatore', label_trans: 'facilitatore', fieldtype: costanti.FieldType.string }),
AddCol(DeleteRec),
AddCol(DuplicateRec),
]

View File

@@ -1735,10 +1735,10 @@ export const tools = {
|| (elem.onlySocioResidente && userStore.my.profile.socioresidente)
|| (elem.onlyConsiglio && userStore.my.profile.consiglio)
|| (elem.onlyNotSoci && !userStore.my.profile.socio)
|| (elem.onlyTutor && userStore.isTutor)
|| (elem.onlyFacilitatore && userStore.isTutor)
|| (elem.onlyEditor && userStore.isEditor)
|| (elem.onlyDepartment && userStore.isDepartment)
|| ((!elem.onlyAdmin) && (!elem.onlyManager) && (!elem.onlyTutor) && (!elem.onlyEditor) && (!elem.onlyDepartment)
|| ((!elem.onlyAdmin) && (!elem.onlyManager) && (!elem.onlyFacilitatore) && (!elem.onlyEditor) && (!elem.onlyDepartment)
&& (!elem.onlySocioResidente) && (!elem.onlyConsiglio) && (!elem.onlyNotSoci))) && elem.active
if (!this.isLoggedToSystem()) {
@@ -5487,7 +5487,7 @@ export const tools = {
return []
},
loadrecProfile() {
async loadrecProfile() {
const userStore = useUserStore()
const globalStore = useGlobalStore()
@@ -5499,7 +5499,7 @@ export const tools = {
console.log('loadrecProfile', params)
return globalStore.loadExp(params)
return await globalStore.loadExp(params)
},
@@ -5507,6 +5507,8 @@ export const tools = {
let myrec = await this.loadrecProfile()
console.log('myrec', myrec)
const sep = ';'
let mystr = ''
@@ -5516,11 +5518,11 @@ export const tools = {
for (const rec of myrec) {
mystr += rec.username + sep
mystr += rec.profile.username_telegram + sep
mystr += rec.profile.firstname_telegram + sep
mystr += rec.profile.lastname_telegram + sep
mystr += !!rec.profile.firstname_telegram ? rec.profile.firstname_telegram + sep : sep
mystr += !!rec.profile.lastname_telegram ? rec.profile.lastname_telegram + sep : sep
mystr += rec.email + sep
mystr += (rec.profile.teleg_id) ? 'SI' : 'NO'
mystr += (rec.verified_by_aportador) ? 'SI' : 'NO'
mystr += ((rec.profile.teleg_id) ? 'SI' : 'NO') + sep
mystr += ((rec.verified_by_aportador) ? 'SI' : 'NO') + sep
mystr += '\n'
index++
}

View File

@@ -528,7 +528,7 @@ export const useUserStore = defineStore('UserStore', {
this.isAdmin = tools.isBitActive(this.my.perm, shared_consts.Permissions.Admin.value)
this.isManager = tools.isBitActive(this.my.perm, shared_consts.Permissions.Manager.value)
this.isTutor = tools.isBitActive(this.my.perm, shared_consts.Permissions.Tutor.value)
this.isTutor = tools.isBitActive(this.my.perm, shared_consts.Permissions.Facilitatore.value)
this.isZoomeri = tools.isBitActive(this.my.perm, shared_consts.Permissions.Zoomeri.value)
this.isDepartment = tools.isBitActive(this.my.perm, shared_consts.Permissions.Department.value)
this.isTeacher = tools.isBitActive(this.my.perm, shared_consts.Permissions.Teacher.value)

View File

@@ -1571,7 +1571,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
getTableJoinByName(table: string, addall?: boolean, addnone?: boolean, filter?: any) {
let myarr: any = []
if (table === 'permissions') myarr = [shared_consts.Permissions.Admin, shared_consts.Permissions.Manager, shared_consts.Permissions.Teacher, shared_consts.Permissions.Tutor, shared_consts.Permissions.Editor, shared_consts.Permissions.Zoomeri, shared_consts.Permissions.Department]
if (table === 'permissions') myarr = [shared_consts.Permissions.Admin, shared_consts.Permissions.Manager, shared_consts.Permissions.Teacher, shared_consts.Permissions.Facilitatore, shared_consts.Permissions.Editor, shared_consts.Permissions.Zoomeri, shared_consts.Permissions.Department]
else if (table === 'accepted') myarr = [shared_consts.Accepted.CHECK_READ_GUIDELINES, shared_consts.Accepted.CHECK_SEE_VIDEO_PRINCIPI]
else if (table === 'fieldstype') myarr = costanti.FieldTypeArr
else if (table === 'metodo_pagamento') myarr = tools.SelectMetodiPagamento