This commit is contained in:
Paolo Arena
2020-09-14 20:46:37 +02:00
parent f94186be75
commit 3b0a39673a
15 changed files with 975 additions and 1092 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -118,14 +118,14 @@
<p class="q-ml-sm">{{ $t('dashboard.legenda_title')}}</p>
<q-list bordered class="rounded-borders justify-center q-pa-sm">
<div class="row items-center q-pa-xs">
<CCardState :mytext="$t('pages.statusreg.req')" :myval="7" :myperc="(7 / 9) * 100" size="50px"
<CCardState :mytext="$t('pages.statusreg.req')" :myval="5" :myperc="(5 / 7) * 100" size="50px"
size_mob="40px"
fontsize="0.75rem" myclass="my-card-small-stat" mycolor="orange">
</CCardState>
<div class="bg-blue text-white clBorderxs q-ml-sm">{{$t('pages.statusreg.req7')}}</div>
</div>
<div class="row items-center q-pa-xs">
<CCardState :mytext="$t('pages.statusreg.req')" :myval="9" :myperc="100" size="50px" size_mob="40px"
<CCardState :mytext="$t('pages.statusreg.req')" :myval="7" :myperc="100" size="50px" size_mob="40px"
fontsize="0.75rem" myclass="my-card-small-stat" mycolor="green"></CCardState>
<div class="bg-blue text-white clBorderxs q-ml-sm">{{$t('pages.statusreg.req9', {sitename:
$t('ws.sitename')})}}

View File

@@ -584,7 +584,6 @@
</div>
</div>
<q-table
dense
color="primary"
dense
flat

View File

@@ -128,7 +128,7 @@ export default class CMyRequirement extends MixinUsers {
},
info: '',
},
{
/*{
icon: 'fas fa-video',
textlang: 'steps.zoom',
textadd(user) {
@@ -156,7 +156,7 @@ export default class CMyRequirement extends MixinUsers {
return false
},
info: '',
},
},*/
{
icon: 'far fa-credit-card',
textlang: 'steps.paymenttype',

View File

@@ -143,7 +143,7 @@ export default class CStatus extends MixinBase {
return ''
}
},
{
/*{
title: 'steps.zoom',
descr: 'steps.zoom_long',
page: '/zoom',
@@ -180,7 +180,7 @@ export default class CStatus extends MixinBase {
funcko() {
return ''
},
},
},*/
{
title: 'steps.paymenttype',
descr: 'steps.paymenttype_long',
@@ -345,7 +345,7 @@ export default class CStatus extends MixinBase {
public created() {
this.DiceDiAverPartec = UserStore.state.my.profile.ask_zoom_partecipato
this.my_dream = UserStore.state.my.profile.my_dream
// this.my_dream = UserStore.state.my.profile.my_dream
this.setstep()
this.setsteptodo()
@@ -490,9 +490,8 @@ export default class CStatus extends MixinBase {
get CompletatoRequisiti() {
try {
return this.VistoZoom && this.RequisitoPayment &&
return this.RequisitoPayment &&
this.TelegVerificato &&
(UserStore.state.my.profile.my_dream.length >= 10) &&
tools.isBitActive(UserStore.state.my.profile.saw_and_accepted, shared_consts.Accepted.CHECK_SEE_VIDEO_PRINCIPI.value) &&
tools.isBitActive(UserStore.state.my.profile.saw_and_accepted, shared_consts.Accepted.CHECK_READ_GUIDELINES.value)
}catch (e) {
@@ -501,9 +500,9 @@ export default class CStatus extends MixinBase {
}
public hagiapartecipato() {
/*public hagiapartecipato() {
tools.AskGiaPartecipatoZoom(this, UserStore.state.my)
}
}*/
get Completato9Req() {
// return tools.Is9ReqOk(this.dashboard.myself)

View File

@@ -212,6 +212,7 @@
</div>
</div>
<!--
<div v-else-if="mystep.title === 'steps.dream'">
<div v-if="mystep.descr">
<div v-html="$t(mystep.descr, {sitename: $t('ws.sitename')})"></div>
@@ -224,16 +225,8 @@
</q-input>
<!--
<CMyFieldDb :title="$t('reg.my_dream')"
table="users"
mykey="profile"
mysubkey="my_dream"
:type="tools.FieldType.string"
>
</CMyFieldDb>
-->
</div>
<div v-else-if="mystep.title === 'steps.zoom'">
<CRequisiti :statebool="VistoZoom" :msgTrue="$t('steps.zoom_si_partecipato')"
@@ -319,7 +312,8 @@
</div>
</CTitleBanner>
</div>
</div> -->
<div v-else-if="mystep.title === 'steps.sharemovement'">
<!--<CRequisiti :statebool="getnuminvitati() >= 2" :msgTrue="$t('steps.sharemovement_hai_invitato')"

View File

@@ -4,42 +4,18 @@
<CTitleBanner :title="`Video ` + $t('site.sitename')"></CTitleBanner>
<CImgText src="">
<CTitleBanner class="q-pa-xs" :title="$t('steps.video_intro_1', {sitename: $t('ws.sitename')})" bgcolor="bg-primary"
<CTitleBanner class="q-pa-xs" :title="$t('steps.video_intro_1', {sitename: $t('ws.sitename')})"
bgcolor="bg-primary"
clcolor="text-white"
myclass="myshad" canopen="true" :visible="true">
<CVideo myvideokey="ybrjGr52jOI">
</CVideo>
<div v-if="toolsext.isLang('fr')">
<CVideo myvideokey="GZR0ncSaG8s"></CVideo>
</div>
<div v-else>
<CVideo myvideokey="DWfQzbOCK3s"></CVideo>
</div>
</CTitleBanner>
<CTitleBanner class="q-pa-xs" :title="$t('steps.video_intro_2', {sitename: $t('ws.sitename')})" bgcolor="bg-primary"
clcolor="text-white"
myclass="myshad" canopen="true" :visible="false">
<CVideo myvideokey="u90hVKBRD6w">
</CVideo>
</CTitleBanner>
<!--
<CTitleBanner class="q-pa-xs" :title="$t('steps.video_intro_3')" bgcolor="bg-primary"
clcolor="text-white"
myclass="myshad" canopen="true" :visible="false">
<CVideo myvideokey="ameNIjUWC6A">
</CVideo>
</CTitleBanner>
<CTitleBanner class="q-pa-xs" :title="$t('steps.video_intro_4')" bgcolor="bg-primary"
clcolor="text-white"
myclass="myshad" canopen="true" :visible="false">
<CVideo myvideokey="OVlriFnOxG4">
</CVideo>
</CTitleBanner>
-->
<div v-if="showconditions">
<q-checkbox
@@ -61,5 +37,5 @@
</script>
<style lang="scss" scoped>
@import './CVideoPromo';
@import './CVideoPromo';
</style>

View File

@@ -285,7 +285,7 @@ export interface ITimeLineMain {
}
export interface IImgGallery {
_id?:string
_id?: string
imagefile: string
order?: number
alt?: string
@@ -411,5 +411,5 @@ export const DefaultNewsState: INewsState = {
totemail: 0,
totsubscribed: 0,
totunsubscribed: 0,
totsentlastid: 0,
totsentlastid: 0
}

View File

@@ -97,10 +97,10 @@ const msg_enUs = {
sharemovement_long: 'Share the {sitename} Movement and invite them to participate in the Welcome Zooms to become part of this great Family &#128516 .<br>.',
inv_attivi_long: '',
enter_prog_completa_requisiti: 'Complete all the requirements to enter the boarding list.',
enter_prog_requisiti_ok: 'You have completed all 7 requirements to enter the boarding list.<br>',
enter_prog_requisiti_ok: 'You have completed all 5 requirements to enter the boarding list.<br>',
enter_prog_msg: 'You will receive a message in the next few days as soon as your ship is ready!',
enter_prog_msg_2: '',
enter_nave_9req_ok: 'CONGRATULATIONS! You have completed ALL 9 steps guide! Thank you for helping {sitename} to Expand! <br>You will be able to leave very soon with your Journey, making your gift and continuing towards the Dreamer.',
enter_nave_9req_ok: 'CONGRATULATIONS! You have completed ALL 7 steps guide! Thank you for helping {sitename} to Expand! <br>You will be able to leave very soon with your Journey, making your gift and continuing towards the Dreamer.',
enter_nave_9req_ko: 'Remember that you can help the Movement grow and expand by sharing our journey with everyone!',
enter_prog: 'I\'m going in Programming',
enter_prog_long: 'Satisfied the requirements you will enter the Program, you will be added to the Ticket and the corresponding group chat.<br>',
@@ -206,7 +206,7 @@ const msg_enUs = {
downline: 'Guests',
downnotreg: 'Non-registered Guests',
notreg: 'Not Registered',
inv_attivi: 'Invited with the 7 Requirements',
inv_attivi: 'Invited with the 5 Requirements',
numinvitati: 'At least 2 guests',
telefono_wa: 'Contact on Whatsapp',
sendnotification: 'Send Notification to the Recipient on Telegram BOT',

View File

@@ -101,7 +101,7 @@ const msg_es = {
enter_prog_requisiti_ok: 'Ha completado los 7 requisitos para entrar en la lista de embarque.<br>',
enter_prog_msg: '¡Recibirá un mensaje en los próximos días tan pronto como su nave esté lista!',
enter_prog_msg_2: '',
enter_nave_9req_ok: '¡FELICIDADES! ¡Has completado los 9 pasos de la Guía! ¡Gracias por ayudar a {sitename} a expandirse! <br>Podrás salir muy pronto con tu viaje, haciendo tu regalo y continuando hacia el Soñador.',
enter_nave_9req_ok: '¡FELICIDADES! ¡Has completado los 7 pasos de la Guía! ¡Gracias por ayudar a {sitename} a expandirse! <br>Podrás salir muy pronto con tu viaje, haciendo tu regalo y continuando hacia el Soñador.',
enter_nave_9req_ko: 'Recuerda que puedes ayudar a que el Movimiento crezca y se expanda compartiendo nuestro viaje con todos!',
enter_prog: 'Voy a entrar en Lista Programación',
enter_prog_long: 'Si se cumplen los requisitos, entrará en el Programa, se le añadirá al Ticket y al correspondiente chat de grupo.<br>',
@@ -206,7 +206,7 @@ const msg_es = {
downline: 'Invitados',
downnotreg: 'Invitados no Registrados',
notreg: 'No Registrado',
inv_attivi: 'Invitado con los 7 requisitos',
inv_attivi: 'Invitado con los 5 requisitos',
numinvitati: 'Al menos 2 invitados',
telefono_wa: 'Contacto en Whatsapp',
sendnotification: 'Enviar notificación al destinatario del telegrama BOT',

View File

@@ -98,10 +98,10 @@ const msg_fr = {
sharemovement_long: 'Partagez le mouvement {sitename} et invitez-les à participer aux zooms de bienvenue pour faire partie de cette grande famille &#128516 .<br>.',
inv_attivi_long: '',
enter_prog_completa_requisiti: 'Remplissez toutes les conditions pour figurer sur la liste d\'embarquement.',
enter_prog_requisiti_ok: 'Vous avez rempli les 7 conditions pour figurer sur la liste d\'embarquement.<br>',
enter_prog_requisiti_ok: 'Vous avez rempli les 5 conditions pour figurer sur la liste d\'embarquement.<br>',
enter_prog_msg: 'Vous recevrez un message dans les prochains jours dès que votre bateau sera prêt !',
enter_prog_msg_2: '',
enter_nave_9req_ok: 'FÉLICITATIONS ! Vous avez suivi les 9 étapes du guide ! Merci d\'avoir aidé {sitename} à se développer ! <br> Vous pourrez bientôt partir avec votre Voyage, en faisant votre don et en continuant vers le Rêveur.',
enter_nave_9req_ok: 'FÉLICITATIONS ! Vous avez suivi les 7 étapes du guide ! Merci d\'avoir aidé {sitename} à se développer ! <br> Vous pourrez bientôt partir avec votre Voyage, en faisant votre don et en continuant vers le Rêveur.',
enter_nave_9req_ko: 'N\'oubliez pas que vous pouvez aider le Mouvement à grandir et à s\'étendre en partageant notre voyage avec tout le monde !',
enter_prog: 'Je vais dans la Liste des Programmation',
enter_prog_long: 'Si vous remplissez les conditions requises pour entrer dans le programme, vous serez ajouté au billet et au chat de groupe correspondant<br>',
@@ -206,7 +206,7 @@ const msg_fr = {
downline: 'invités',
downnotreg: 'Invités non enregistrés',
notreg: 'Non enregistré',
inv_attivi: 'Invité avec les 7 exigences',
inv_attivi: 'Invité avec les 5 exigences',
numinvitati: 'Au moins 2 invités',
telefono_wa: 'Contact sur Whatsapp',
sendnotification: 'Envoyer la notification au destinataire par télégramme BOT',

View File

@@ -121,10 +121,10 @@ const msg_it = {
sharemovement_long: 'Condividi il Movimento {sitename} e invitali a partecipare agli Zoom di Benvenuto per entrare a far parte di questa grande Famiglia &#128516 .<br>',
inv_attivi_long: '',
enter_prog_completa_requisiti: 'Completa tutti i requisiti richiesti, per poter entrare nella Lista d\'imbarco.',
enter_prog_requisiti_ok: 'Hai completato tutti i 7 requisiti per entrare nella Lista d\'Imbarco.<br>',
enter_prog_requisiti_ok: 'Hai completato tutti i 5 requisiti per entrare nella Lista d\'Imbarco.<br>',
enter_prog_msg: 'Riceverai un messaggio nei prossimi giorni su AYNI BOT, appena la tua Nave sarà pronta!',
enter_prog_msg_2: 'Ricorda che più persone inviti e più sali di Posizione, per accedere alla prossima Nave!',
enter_nave_9req_ok: 'COMPLIMENTI! Hai Completato TUTTI i 9 Passi della Guida! Grazie per Aiutare {sitename} ad Espandersi!<br>Potrai molto presto partire con il tuo Viaggio, facendo il tuo dono e proseguendo verso il Sognatore',
enter_nave_9req_ok: 'COMPLIMENTI! Hai Completato TUTTI i 7 Passi della Guida! Grazie per Aiutare {sitename} ad Espandersi!<br>Potrai molto presto partire con il tuo Viaggio, facendo il tuo dono e proseguendo verso il Sognatore',
enter_nave_9req_ko: 'Ricorda che puoi Aiutare a far Crescere ed Espandere il Movimento, Condividendo con chiunque questo nostro viaggio!',
enter_prog: 'Entro nella Lista d\'Imbarco',
enter_prog_long: 'Ricorda che puoi Aiutare a far Crescere ed Espandere il Movimento, Condividendo con chiunque questo nostro viaggio!<br>',
@@ -233,7 +233,7 @@ const msg_it = {
downline: 'Invitati',
downnotreg: 'Invitati non Registrati',
notreg: 'Non Registrato',
inv_attivi: 'Invitati con i 7 Requisiti',
inv_attivi: 'Invitati con i 5 Requisiti',
numinvitati: 'Almeno 2 Invitati',
telefono_wa: 'Contatta su Whatsapp',
sendnotification: 'Invia Notifica al Destinatario su Telegram BOT',

View File

@@ -108,10 +108,10 @@ const msg_pt = {
sharemovement_long: 'Partilhe o Movimento {sitename} e convide-os a participar nos Zooms de Boas-vindas para fazer parte desta grande Família &#128516 .<br>',
inv_attivi_long: '',
enter_prog_completa_requisiti: 'Preencher todos os requisitos para entrar na lista de embarque.',
enter_prog_requisiti_ok: 'O usuário completou todos os 7 requisitos para entrar na lista de embarque.<br>',
enter_prog_requisiti_ok: 'O usuário completou todos os 5 requisitos para entrar na lista de embarque.<br>',
enter_prog_msg: 'Você receberá uma mensagem nos próximos dias, assim que o seu navio estiver pronto!',
enter_prog_msg_2: '',
enter_nave_9req_ok: 'PARABÉNS! Você completou TODOS os 9 passos do Guia! Obrigado por ajudar a {sitename} a Expandir! <br>Você poderá partir muito em breve com a sua Jornada, fazendo o seu presente e continuando para o Sonhador.',
enter_nave_9req_ok: 'PARABÉNS! Você completou TODOS os 7 passos do Guia! Obrigado por ajudar a {sitename} a Expandir! <br>Você poderá partir muito em breve com a sua Jornada, fazendo o seu presente e continuando para o Sonhador.',
enter_nave_9req_ko: 'Lembre-se que você pode ajudar o Movimento a crescer e expandir, compartilhando nossa jornada com todos!',
enter_prog: 'Vou em Lista Programação',
enter_prog_long: 'Satisfeito os requisitos para entrar no Programa, você será adicionado ao Ticket e ao chat do grupo correspondente.<br>',

View File

@@ -112,10 +112,10 @@ const msg_si = {
sharemovement_long: 'Delite gibanje {sitename} in jih povabite, da sodelujejo v zoomih dobrodošlice, da postanejo del te velike družine &#128516 .<br>',
inv_attivi_long: '',
enter_prog_completa_requisiti: 'Izpolnite vse potrebne zahteve, da lahko vstopite na seznam za vstop.',
enter_prog_requisiti_ok: 'Izpolnili ste vseh 7 zahtev za vpis na vstopni seznam. <br>',
enter_prog_requisiti_ok: 'Izpolnili ste vseh 5 zahtev za vpis na vstopni seznam. <br>',
enter_prog_msg: 'V naslednjih dneh boste takoj, ko bo vaša ladja pripravljena, prejeli sporočilo!',
enter_prog_msg_2: '',
enter_nave_9req_ok: 'ČESTITKE! Izpolnili ste VSE 9 korakov! Hvala, ker ste pomagali {sitename} pri razširitvi! <br> Zelo kmalu boste lahko odšli na potovanje, si priskrbeli darilo in nadaljevali proti sanjaču ',
enter_nave_9req_ok: 'ČESTITKE! Izpolnili ste VSE 7 korakov! Hvala, ker ste pomagali {sitename} pri razširitvi! <br> Zelo kmalu boste lahko odšli na potovanje, si priskrbeli darilo in nadaljevali proti sanjaču ',
enter_nave_9req_ko: 'Ne pozabite, da lahko pomagate rasti in razširiti gibanje, tako da svoje potovanje delite z drugimi!',
enter_prog: 'Vpišem se na Seznam vkrcavanja',
enter_prog_long: 'Ne pozabite, da lahko pomagate rasti in razširiti gibanje, tako da svoje potovanje delite z drugimi!<br>',
@@ -211,7 +211,7 @@ const msg_si = {
downline: 'povabljen',
downnotreg: 'Neregistrirani gostje',
notreg: 'Ni registrirano',
inv_attivi: 'Povabljeni s 7 zahtevami',
inv_attivi: 'Povabljeni s 5 zahtevami',
numinvitati: 'Z vsaj 2-emi povabljenici',
telefono_wa: 'Pišite na Whatsapp',
sendnotification: 'Obvestilo pošljite prejemniku na Telegram BOT',

View File

@@ -3736,9 +3736,9 @@ export const tools = {
req += user.profile.teleg_id > 0 ? 1 : 0
req += this.isBitActive(user.profile.saw_and_accepted, shared_consts.Accepted.CHECK_READ_GUIDELINES.value) ? 1 : 0
req += this.isBitActive(user.profile.saw_and_accepted, shared_consts.Accepted.CHECK_SEE_VIDEO_PRINCIPI.value) ? 1 : 0
req += user.profile.saw_zoom_presentation ? 1 : 0
if (!!user.profile.my_dream)
req += user.profile.my_dream.length >= 10 ? 1 : 0
// req += user.profile.saw_zoom_presentation ? 1 : 0
// if (!!user.profile.my_dream)
// req += user.profile.my_dream.length >= 10 ? 1 : 0
req += this.isSel2Metodi(user) ? 1 : 0
return req