diff --git a/src/components/CMyDashboard/CMyDashboard.ts b/src/components/CMyDashboard/CMyDashboard.ts
index edec9fa..01ca338 100755
--- a/src/components/CMyDashboard/CMyDashboard.ts
+++ b/src/components/CMyDashboard/CMyDashboard.ts
@@ -58,6 +58,8 @@ export default class CMyDashboard extends MixinUsers {
public showregalainv: boolean = false
public id_listaingr: number = -1
public ind_order_ingr: number = -1
+ public myrigaattuale: number = 0
+ public mycolattuale: number = 0
public dashboard: IDashboard = {
myself: DefaultUser,
aportador: DefaultUser,
@@ -76,10 +78,10 @@ export default class CMyDashboard extends MixinUsers {
@Watch('UserStore.state.my.dashboard')
public changedash() {
- console.log('changedash')
+ // console.log('changedash')
this.dashboard = UserStore.state.my.dashboard
if (!!this.dashboard)
- this.invitante_username = this.dashboard.myself.aportador_solidario
+ this.invitante_username = this.dashboard.myself.username
}
@@ -96,7 +98,7 @@ export default class CMyDashboard extends MixinUsers {
public changetab(val) {
tools.setCookie(tools.TABBED_DASHBOARD, val)
- console.log('setcook', val)
+ // console.log('setcook', val)
}
@Watch('this.username')
@@ -112,7 +114,7 @@ export default class CMyDashboard extends MixinUsers {
}
public async update_username() {
- console.log('update_username')
+ // console.log('update_username')
this.loading = true
if (this.username === '')
this.myusername = this.getMyUsername()
@@ -125,9 +127,12 @@ export default class CMyDashboard extends MixinUsers {
this.dashboard = ris
if (!!this.dashboard)
- this.invitante_username = this.dashboard.myself.aportador_solidario
+ this.invitante_username = this.dashboard.myself.username
- console.log('this.invitante_username', this.invitante_username)
+ this.myrigaattuale = this.dashboard.lastnave.riga
+ this.mycolattuale = this.dashboard.lastnave.col
+
+ // console.log('this.invitante_username', this.invitante_username)
this.loading = false
})
@@ -184,8 +189,8 @@ export default class CMyDashboard extends MixinUsers {
public datanave(mianave) {
// const mynavepart = this.getnavePartenzaByRigaCol(tools.getRiganave(mianave.riga), tools.getColnave(mianave.col))
if (!!mianave.nave_partenza) {
- if (!!mianave.nave_partenza.date_start)
- return tools.getstrshortDate(mianave.nave_partenza.date_start)
+ if (!!mianave.nave_partenza.date_gift_chat_open)
+ return tools.getstrshortDate(mianave.nave_partenza.date_gift_chat_open)
}
return ' --/-- '
}
@@ -340,7 +345,7 @@ export default class CMyDashboard extends MixinUsers {
get allowSubmit() {
let error = this.$v.$error || this.$v.$invalid
- error = error || (this.invitante_username === this.dashboard.myself.username)
+ // error = error || (this.invitante_username === this.dashboard.myself.username)
return !error
@@ -370,9 +375,11 @@ export default class CMyDashboard extends MixinUsers {
tools.saveFieldToServer(this, 'navi', mianave._id, mydata)
}
- public getNaveSognatoreStr(mianave, index) {
+ public getNaveSognatoreStr(mianave) {
const mynavedest = tools.getfirstnaveSognatore(mianave.riga, mianave.col)
- return mynavedest.riga + '.' + parseInt(mynavedest.col, 10) + index
+ const ris = mynavedest.riga + '.' + mynavedest.col
+ // console.log('ris', ris)
+ return ris
}
public getNaveMediatoreStr(mianave) {
diff --git a/src/components/CMyDashboard/CMyDashboard.vue b/src/components/CMyDashboard/CMyDashboard.vue
index 277e37d..28e20bb 100755
--- a/src/components/CMyDashboard/CMyDashboard.vue
+++ b/src/components/CMyDashboard/CMyDashboard.vue
@@ -16,6 +16,10 @@
+
+
+
+
@@ -141,10 +145,112 @@
+
+
-
+
+
+
+
+ {{ $t('dashboard.num_tessitura') }}
+
+
+ {{ $t('dashboard.posizione') }}
+
+
+ {{ $t('dashboard.invitante') }}
+
+
+ {{ $t('dashboard.downline') }}
+
+
+
+ {{ $t('reg.elimina') }}
+
+
+
+
+
+
+
+
+
{{ mioimbarco.posiz.posiz }} / {{
+ mioimbarco.posiz.totposiz }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -154,21 +260,6 @@
-
-
-
-
-
-
Num
-
-
{{$t('dashboard.nave')}}
-
-
-
-
-
-
-
@@ -191,13 +282,14 @@
-
-
+
+
{{$t('dashboard.donatore')}}
{{$t('dashboard.mediatore')}}
{{$t('dashboard.sognatore')}}
-
+
{{ tools.getrigacolstr(mianave) }}
@@ -208,16 +300,36 @@
- {{ getNaveSognatoreStr(mianave, 0)}}
+ {{ getNaveSognatoreStr(mianave)}}
-
-
+
+
+
+
+
+
+
+
+
-
+
+
+
+
@@ -225,7 +337,15 @@
- {{ $t('dashboard.ho_effettuato_il_dono') }}
+
+
+ {{ $t('dashboard.ho_effettuato_il_dono') }}
+
+
@@ -234,15 +354,18 @@
-
+
+
+
+ :navi_partenzaprop="dashboard.navi_partenza" :listanavi="false" :dashboard="dashboard">
@@ -265,105 +388,11 @@
-->
-
-
-
- {{ $t('dashboard.num_tessitura') }}
-
-
- {{ $t('dashboard.posizione') }}
-
-
- {{ $t('dashboard.invitante') }}
-
-
- {{ $t('dashboard.downline') }}
-
-
-
- {{ $t('reg.elimina') }}
-
-
-
-
-
-
-
-
{{ mioimbarco.posiz.posiz }} / {{
- mioimbarco.posiz.totposiz }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -372,21 +401,6 @@
-
-
-
-
UTENTE CANCELLATO (Nascosto: true) !
@@ -398,10 +412,6 @@
-
-
-
-
@@ -424,10 +434,6 @@
-->
-
-
-
-
@@ -457,10 +463,7 @@
-
-
+
-
-
-
-
+
diff --git a/src/components/CMyNave/CMyNave.scss b/src/components/CMyNave/CMyNave.scss
index 286914b..552f0db 100755
--- a/src/components/CMyNave/CMyNave.scss
+++ b/src/components/CMyNave/CMyNave.scss
@@ -1,4 +1,5 @@
-.donatore, .mediatore, .sognatore, .title-nave, .intermedio2, .intermedio3 {
+
+.title-nave {
padding: 2px 4px;
margin: 2px 4px;
color: white;
@@ -6,6 +7,33 @@
border-radius: 16px;
}
+.donatore, .mediatore, .sognatore, .intermedio1, .intermedio2, .intermedio4, .intermedio5{
+ color: white;
+ background-color: lightblue;
+ padding: 1px 2px;
+ margin: 1px 2px;
+ font-size: 0.8rem;
+ border-radius: 32px;
+ font-weight: bold;
+ text-transform: uppercase;
+ max-width: 200px;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+.intermedio1{
+ background-color: indigo;
+}
+.intermedio2{
+ background-color: blue;
+}
+.intermedio4{
+ background-color: yellow;
+ color: black;
+}
+.intermedio5{
+ background-color: orange;
+}
.tutor{
@@ -17,24 +45,19 @@
.donatore {
background-color: red;
+ text-transform: uppercase;
}
.mediatore {
background-color: green;
+ text-transform: uppercase;
}
.sognatore {
background-color: purple;
+ text-transform: uppercase;
}
-.intermedio2{
- background-color: orange;
-}
-
-.intermedio3{
- background-color: yellow;
- color: black;
-}
.cont_donatore, .cont_sognatore, .cont_mediatore, .cont_tragitto, .cont_pos, .cont_intestaz, .cont_pos_intest, .cont_intestaz_small {
border: solid 2px #4198ef;
@@ -51,6 +74,13 @@
.you {
background-color: yellow;
}
+.issognatore {
+ background-color: orangered;
+ color: white;
+ font-size: 1.10rem;
+ border-radius: 64px;
+ font-weight: bold;
+}
.cont_tragitto{
color: blue;
@@ -102,7 +132,7 @@
}
.titlenave{
- width: 55px;
+ width: 75px;
text-align: center;
}
diff --git a/src/components/CMyNave/CMyNave.ts b/src/components/CMyNave/CMyNave.ts
index ff2909f..f9f6ad8 100755
--- a/src/components/CMyNave/CMyNave.ts
+++ b/src/components/CMyNave/CMyNave.ts
@@ -25,10 +25,12 @@ export default class CMyNave extends MixinNave {
@Prop({ required: false, default: null }) public posizprop
@Prop({ required: true }) public navi_partenzaprop: any[]
@Prop({ required: true }) public listanavi: boolean
+ @Prop({ required: false, default: null }) public dashboard: any
public navi_partenza: any[]
public $t
public $v
public link_chat: string = ''
+ public tabnave: string = 'donatore'
public cosa: string = 'tragitto'
public cosa2: string = 'donatore'
public nave: any = null
@@ -50,6 +52,11 @@ export default class CMyNave extends MixinNave {
public loading: boolean = false
public showmsguser: boolean = false
public seluser = null
+ public showtesto: boolean = false
+ public notifBot: boolean = true
+ public deleteUser: boolean = true
+ public AddImbarco: boolean = true
+ public seltesto: string = ''
public msg_tosend_user: string = ''
public username_sostituire: string = ''
public MyPagination: {
@@ -59,7 +66,7 @@ export default class CMyNave extends MixinNave {
rowsNumber: number, // specifying this determines pagination is server-side
rowsPerPage: number
} = { sortBy: 'index', descending: false, page: 1, rowsNumber: 10, rowsPerPage: 10 }
- public coldonatori: any[] = [
+ public coldonatori_cell: any[] = [
/*{
name: 'index',
required: true,
@@ -70,6 +77,23 @@ export default class CMyNave extends MixinNave {
},*/
{ name: 'name', align: 'center', label: translate('reg.name'), field: 'name', sortable: true },
// { name: 'surname', align: 'center', label: translate('reg.surname'), field: 'surname', sortable: true },
+ // { name: 'date_made_gift', align: 'center', label: 'Inviato', field: 'date_made_gift', sortable: true },
+ // { name: 'tel', align: 'center', label: 'Tel', field: 'tel', sortable: true },
+ { name: 'made_gift', align: 'center', label: 'Conferm.', field: 'made_gift', sortable: true },
+ ]
+
+ public coldonatori: any[] = [
+ {
+ name: 'index',
+ required: true,
+ label: 'Num',
+ align: 'left',
+ field: 'index',
+ sortable: true
+ },
+ { name: 'nave', align: 'center', label: 'Gift Chat', field: 'nave', sortable: true },
+ { name: 'name', align: 'center', label: 'Nome Cognome', field: 'name', sortable: true },
+ { name: 'posizione', align: 'center', label: 'Posizione', field: 'posizione', sortable: true },
{ name: 'date_made_gift', align: 'center', label: 'Inviato', field: 'date_made_gift', sortable: true },
// { name: 'tel', align: 'center', label: 'Tel', field: 'tel', sortable: true },
{ name: 'made_gift', align: 'center', label: 'Conferm.', field: 'made_gift', sortable: true },
@@ -130,6 +154,17 @@ export default class CMyNave extends MixinNave {
this.aggiorna()
}
+ public created() {
+ if (!!tools.getCookie(tools.TABBED_NAVE)) {
+ this.tabnave = tools.getCookie(tools.TABBED_NAVE)
+ }
+ }
+
+ public changetab(val) {
+ tools.setCookie(tools.TABBED_NAVE, val)
+ // console.log('setcook', val)
+ }
+
public aggiorna() {
this.riga = tools.getValDb('riga', false, 1)
@@ -232,6 +267,12 @@ export default class CMyNave extends MixinNave {
}
public sonoMediatore() {
+ if (!this.nave)
+ return false
+
+ if (!this.nave.rec.donatore.recmediatore)
+ return false
+
if (!!this.nave) {
if (!!this.nave.rec.donatore)
return this.nave.rec.donatore.recmediatore.ind_order === this.myindorder
@@ -245,6 +286,15 @@ export default class CMyNave extends MixinNave {
}
public partenza_primo_donatore() {
+ if (!!this.nave) {
+ if (!!this.mediatore_navepers) {
+ return this.mediatore_navepers.date_gift_chat_open
+ }
+ }
+ return ''
+ }
+
+ public fine_doni() {
if (!!this.nave) {
if (!!this.mediatore_navepers) {
return this.mediatore_navepers.date_start
@@ -255,13 +305,13 @@ export default class CMyNave extends MixinNave {
public getGiornoDelDono() {
if (!!this.nave) {
- return tools.getstrDate(this.donatore_navepers.date_start)
+ return tools.getstrDate(this.donatore_navepers.date_gift_chat_open)
}
}
get GiornoDelDonoArrivato() {
if (!!this.nave) {
- return tools.isDateArrived(this.donatore_navepers.date_start)
+ return tools.isDateArrived(this.donatore_navepers.date_gift_chat_open)
}
return false
}
@@ -408,12 +458,18 @@ export default class CMyNave extends MixinNave {
}
public sonoSecondaTessituraDonatore() {
- const mediatore = this.getmediatore()
- for (const rec of this.nave.rec.donatore.arrdonatori) {
- if (!!rec) {
- if (mediatore) {
- if ((mediatore.ind_order === rec.ind_order) && (rec.num_tess % 2) === 0)
- return true
+ if (!!this.nave) {
+ const mediatore = this.getmediatore()
+ if (!!this.nave.rec.donatore && !!mediatore) {
+ if (!!this.nave.rec.donatore.arrdonatori) {
+ for (const rec of this.nave.rec.donatore.arrdonatori) {
+ if (!!rec) {
+ if (mediatore) {
+ if ((mediatore.ind_order === rec.ind_order) && (rec.num_tess % 2) === 0)
+ return true
+ }
+ }
+ }
}
}
}
@@ -426,8 +482,10 @@ export default class CMyNave extends MixinNave {
}
public getmediatore() {
- if (!!this.nave.rec.mediatore)
- return this.nave.rec.mediatore.recmediatore
+ if (!!this.nave) {
+ if (!!this.nave.rec.mediatore)
+ return this.nave.rec.mediatore.recmediatore
+ }
return null
}
@@ -455,7 +513,10 @@ export default class CMyNave extends MixinNave {
return this.donatore_navepers.link_chat
}
- public getclassSelect(rec) {
+ public getclassSelect(rec, sognatore, index) {
+ if (sognatore && index === 0) {
+ return ' issognatore'
+ }
if (rec.ind_order === this.myindorder)
return ' you'
}
@@ -467,24 +528,24 @@ export default class CMyNave extends MixinNave {
else {
ris = (this.getrigaNaveByInd(ind)) + '.' + this.getcolNaveByInd(ind)
}
- let add = ''
- // for (let index = 0; index < (4 - ris.length); index++) {
- // add += ' '
- // }
-
- ris = add + ris
return ris
}
public getdatanave(rec) {
+ if (!this.nave)
+ return ''
+
if (this.sonoDonatore()) {
if (rec.ind === 1) {
- return tools.getstrshortDate(this.nave.date_start) // Donatore
+ return tools.getstrshortDate(this.nave.date_gift_chat_open) // Donatore
}
}
if (this.sonoMediatore()) {
+ if (!rec)
+ return false
+
if (rec.ind === 4) {
- return tools.getstrshortDate(this.nave.date_start) // Mediatore
+ return tools.getstrshortDate(this.nave.date_gift_chat_open) // Mediatore
}
}
@@ -492,13 +553,24 @@ export default class CMyNave extends MixinNave {
const col = this.getcolNaveByInd(rec.ind)
const mynavepart = this.getnavePartenzaByRigaCol(riga, col)
if (!!mynavepart) {
- if (!!mynavepart.date_start)
- return tools.getstrshortDate(mynavepart.date_start)
+ if (!!mynavepart.date_gift_chat_open)
+ return tools.getstrshortDate(mynavepart.date_gift_chat_open)
}
return ' --/-- '
// return this.getNavePartByInd(rec.ind)
}
+ public getlinkchat(row) {
+ const riga = tools.getRiganave(row.riga)
+ const col = tools.getColnave(row.col)
+
+ const mynavepart = this.getnavePartenzaByRigaCol(riga, col)
+ if (!!mynavepart) {
+ if (!!mynavepart.link_chat)
+ return mynavepart.link_chat
+ }
+ }
+
public getTutor(rec) {
const mynavepart = this.getnavePartenzaByRigaCol(rec.riga, rec.col)
if (!!mynavepart)
@@ -551,10 +623,12 @@ export default class CMyNave extends MixinNave {
}
public getclpos(rec) {
- if (this.NaveeseguitabyInd(this.getrigaNaveByInd(rec.ind))) {
- return 'you'
- } else {
- return ''
+ if (!!this.dashboard) {
+ if (this.dashboard.lastnave.riga >= this.getrigaNaveByInd(rec.ind)) {
+ return 'you'
+ } else {
+ return ''
+ }
}
}
@@ -634,16 +708,27 @@ export default class CMyNave extends MixinNave {
return tools.getstrshortDate(mydata)
}
- public gettitlemediatore() {
- return this.getdatastr(this.partenza_primo_donatore()) + ' ' + this.$t('dashboard.nave') + ' ' + this.getisProvvisoriaMediatoreStr() + this.mediatore.riga + '.' + this.mediatore.col + ' ' + '🎁' + this.$t('ws.sitename')
+ public datefromto() {
+ if (this.partenza_primo_donatore() !== this.fine_doni())
+ // return this.$t('words.da') + ' ' + this.getdatastr(this.partenza_primo_donatore()) + ' ' + this.$t('words.a') + ' ' + this.getdatastr(this.fine_doni())
+ return this.getdatastr(this.partenza_primo_donatore()) + ' - ' + this.getdatastr(this.fine_doni())
+ else
+ return this.getdatastr(this.fine_doni())
+ }
+
+ public gettitlemediatore(acapo) {
+ let add = ' - '
+ if (acapo)
+ add = ' '
+ return this.datefromto() + add + this.$t('dashboard.nave') + ' ' + this.getisProvvisoriaMediatoreStr() + this.mediatore.riga + '.' + this.mediatore.col + ' ' + '🎁' + this.$t('ws.sitename')
}
public gettitledonatore() {
- return this.getdatastr(this.donatore_navepers.date_start) + ' ' + this.$t('dashboard.nave') + ' ' + this.getisProvvisoriaStr() + this.donatore_navepers.riga + '.' + this.donatore_navepers.col + ' ' + '🎁' + this.$t('ws.sitename')
+ return this.getdatastr(this.donatore_navepers.date_gift_chat_open) + ' ' + this.$t('dashboard.nave') + ' ' + this.getisProvvisoriaStr() + this.donatore_navepers.riga + '.' + this.donatore_navepers.col + ' ' + '🎁' + this.$t('ws.sitename')
}
public gettesto() {
- return this.$t('dashboard.sonomediatore', { nomenave: this.gettitlemediatore() })
+ return this.$t('dashboard.sonomediatore', { nomenave: this.gettitlemediatore(false) })
}
public getisProvvisoriaStr() {
@@ -761,16 +846,17 @@ export default class CMyNave extends MixinNave {
public getpartenza() {
let myrec = null
- if (this.listanavi)
- myrec = this.nave.rec
- else {
+ if (this.listanavi) {
+ if (!!this.nave)
+ myrec = this.nave.rec
+ } else {
if (!!this.posiz)
myrec = this.posiz.rec
}
if (!!myrec)
if (!!myrec.donatore.navepersistente)
- return tools.getstrDate(myrec.donatore.navepersistente.date_start)
+ return tools.getstrDate(myrec.donatore.navepersistente.date_gift_chat_open)
return ''
}
@@ -826,6 +912,7 @@ export default class CMyNave extends MixinNave {
public Chiudi() {
this.showmsguser = false
+ this.showtesto = false
}
public InviaMsgAUser() {
@@ -885,7 +972,15 @@ export default class CMyNave extends MixinNave {
await tools.askConfirm(this.$q, 'Sostituisci', notifBottxt + ' ?', translate('dialog.yes'), translate('dialog.no'), this, '', lists.MenuAction.SOSTITUISCI, 0, {
param1: user,
- param2: { username: usernamesost, riga: user.riga, col: user.col },
+ param2: {
+ username: usernamesost,
+ username_da_sostituire: user.username,
+ riga: user.riga,
+ col: user.col,
+ notifBot: this.notifBot,
+ deleteUser: this.deleteUser,
+ AddImbarco: this.AddImbarco,
+ },
param3: notifBottxt
})
}
@@ -894,4 +989,55 @@ export default class CMyNave extends MixinNave {
return tools.getRiganave(row.riga) + '.' + tools.getColnave(row.col)
}
+ get gettitolonave() {
+ if (this.listanavi)
+ return this.titolonave()
+ else
+ return this.$t('dashboard.tragitto')
+ }
+
+ get getcol() {
+ if (tools.isMobile())
+ return this.coldonatori_cell
+ else
+ return this.coldonatori
+ }
+
+ public getlivellostr(index) {
+
+ let str = ''
+ str += (7 - index) + '° - '
+ if (index === 0)
+ str += this.$t('dashboard.sognatore')
+ else if ((index === 1) || (index === 2) || (index === 4) || (index === 5))
+ str += this.$t('dashboard.intermedio')
+ else if (index === 3)
+ str += this.$t('dashboard.mediatore')
+ else if (index === 6)
+ str += this.$t('dashboard.donatori')
+
+ return str
+
+ }
+
+ public getclasselivello(index) {
+ if (index === 0)
+ return 'sognatore'
+ else if (index === 3)
+ return 'mediatore'
+ else if (index === 6)
+ return 'donatore'
+ else
+ return 'intermedio' + index
+ }
+
+ public async Mostraplacca(riga, col) {
+ const data = {
+ riga,
+ col
+ }
+ this.showtesto = true
+ this.seltesto = await GlobalStore.actions.GetData({ data })
+ }
+
}
diff --git a/src/components/CMyNave/CMyNave.vue b/src/components/CMyNave/CMyNave.vue
index 866047f..d28671c 100755
--- a/src/components/CMyNave/CMyNave.vue
+++ b/src/components/CMyNave/CMyNave.vue
@@ -1,438 +1,479 @@
-
+
+
+ :visible="!!nave && !FattoDono && !sonoSecondaTessituraDonatore() && !listanavi"
+ mystyle="" myclass="myshad" canopen="true" @apri="apri">
+
+
+ {{getposizione()}}
+
+
+
N
+
+
+
+
{{$t('dashboard.nave')}}
+
+
+
+
+
+
+
+ {{ rec.ind }}
+
+
+
+
+ {{ $t(rec.title_lang) }}
+
+
+
+
+
+
+ {{ getdatanave(rec) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{$t('dashboard.gift_chat')}}:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{{$t('dashboard.quando_eff_il_tuo_dono')}}: {{ getGiornoDelDono()
+ }}
+
+
+ {{$t('dashboard.metodi_disponibili')}}:
+
+
+
+
+
+ {{$t('dashboard.importo')}}: 33€
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{$t('dashboard.clicca_conferma_dono')}}:
+
+
+
+
+
+
+
+
+
+ {{ $t('dashboard.ho_effettuato_il_dono') }}
+
+
+
+
+
+
+ {{ $t('dashboard.dono_ricevuto') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('dashboard.tutor') }}: {{getTutor(donatore)}}
+
+
+
+
+
+
+
+
{{ getlivellostr(index, false)}}:
+
+ A{{3 - index}} - {{ sognatore.name }} {{ sognatore.surname }}
+ ({{sognatore.username }})
+
+
+
+
{{ getlivellostr(3, false)}}:
+
+ {{ nave.rec.donatore.recmediatore.name }} {{
+ nave.rec.donatore.recmediatore.surname }} ({{
+ nave.rec.donatore.recmediatore.username }})
+
+
+
+
{{ getlivellostr(4, true)}}:
+
+
+ B{{index + 1}} - {{ terra.name }} {{ terra.surname }} ({{
+ terra.username
+ }}) - {{
+ terra.riga}}.{{terra.col}}
+
+
+
+
+
{{ getlivellostr(5, false)}}:
+
+
+ C{{index + 1}} - {{ aria.name }} {{ aria.surname }} ({{
+ aria.username
+ }}) - {{
+ aria.riga}}.{{aria.col}}
+
+
+
+
{{ getlivellostr(6)}}:
+
+
+
+
+ {{ getindex(donatore, index + 1) }} - {{ donatore.name }} {{
+ donatore.surname }} ({{
+ donatore.username }}) - {{
+ donatore.riga}}.{{donatore.col}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('dashboard.tutor') }}: {{getTutor(mediatore)}}
+
+
+
+
+
+
+
+
+
+
{{ getlivellostr(index, false)}}:
+
+ A{{3 - index}} - {{ sognatore.name }} {{ sognatore.surname }}
+ ({{sognatore.username }})
+
+
+
+
{{ getlivellostr(3, false)}}:
+
+ {{ nave.rec.mediatore.recmediatore.name }} {{
+ nave.rec.mediatore.recmediatore.surname }} ({{
+ nave.rec.mediatore.recmediatore.username }})
+
+
+
+
{{ getlivellostr(4, true)}}:
+
+
+ B{{index + 1}} - {{ terra.name }} {{ terra.surname }} ({{
+ terra.username
+ }}) - {{
+ terra.riga}}.{{terra.col}}
+
+
+
+
+
{{ getlivellostr(5, false)}}:
+
+
+ C{{index + 1}} - {{ aria.name }} {{ aria.surname }} ({{
+ aria.username
+ }}) - {{
+ aria.riga}}.{{aria.col}}
+
+
+
+
{{ getlivellostr(6)}}:
+
+
+
+
+ {{ getindex(donatore, index + 1) }} - {{ donatore.name }} {{
+ donatore.surname }} ({{
+ donatore.username }}) - {{
+ donatore.riga}}.{{donatore.col}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{$t('dashboard.doni_ricevuti')}}:
+
+
{{getDoniConfermati()}}
+
+
+
+ {{$t('dashboard.doni_inviati_da_confermare')}}:
+
+
{{getDoniAttesaDiConferma()}}
+
+
+
+ {{$t('dashboard.doni_mancanti')}}:
+
+
{{getDoniMancanti()}}
+
+
+
+
+
+
+ {{ props.row.index }}
+
+
+
+
+
+
+
+
+
+ {{'(' + getnavestr(props.row) + ')'}} - {{ tools.getstrshortDateTime(props.row.date_made_gift) }}
+
+
+
+ {{ props.row.riga }}.{{ props.row.col }}
+
+
+ {{ tools.getstrshortDateTime(props.row.date_made_gift) }}
+
+
+
+
+
+
+
+
+
+ {{ $t('dialog.ok')
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
-
-
- {{getposizione()}}
-
-
-
N
-
-
-
-
{{$t('dashboard.nave')}}
-
-
-
-
-
-
-
- {{ rec.ind }}
-
-
-
-
- {{ $t(rec.title_lang) }}
-
-
-
-
-
-
- {{ getdatanave(rec) }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
{{gettitledonatore()}}
-
- {{ $t('dashboard.tutor') }}: {{getTutor(donatore)}}
-
-
-
-
-
-
-
{{$t('dashboard.sognatori')}}:
-
-
- A{{3 - index}} - {{ sognatore.name }} {{ sognatore.surname }}
- ({{sognatore.username }})
-
-
-
-
{{$t('dashboard.mediatore')}}:
-
- {{ nave.rec.donatore.recmediatore.name }} {{
- nave.rec.donatore.recmediatore.surname }} ({{
- nave.rec.donatore.recmediatore.username }})
-
-
-
-
{{$t('dashboard.intermedio')}}3:
-
-
- B{{index + 1}} - {{ terra.name }} {{ terra.surname }} ({{
- terra.username
- }}) - {{
- terra.riga}}.{{terra.col}}
-
-
-
-
-
{{$t('dashboard.intermedio')}}2:
-
-
- C{{index + 1}} - {{ aria.name }} {{ aria.surname }} ({{
- aria.username
- }}) - {{
- aria.riga}}.{{aria.col}}
-
-
-
-
{{$t('dashboard.donatori')}}:
-
-
-
-
- {{ getindex(donatore, index + 1) }} - {{ donatore.name }} {{
- donatore.surname }} ({{
- donatore.username }}) - {{
- donatore.riga}}.{{donatore.col}}
-
-
-
-
-
-
-
-
-
-
-
-
- {{$t('dashboard.gift_chat')}}:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
{{$t('dashboard.quando_eff_il_tuo_dono')}}: {{ getGiornoDelDono()
- }}
-
-
- {{$t('dashboard.metodi_disponibili')}}:
-
-
-
-
-
- {{$t('dashboard.importo')}}: 33€
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{$t('dashboard.clicca_conferma_dono')}}:
-
-
-
-
-
-
-
-
-
- {{ $t('dashboard.ho_effettuato_il_dono') }}
-
-
-
-
-
-
- {{ $t('dashboard.dono_ricevuto') }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
{{gettitlemediatore()}}
-
- {{ $t('dashboard.tutor') }}: {{getTutor(mediatore)}}
-
-
-
-
-
-
-
{{$t('dashboard.sognatori')}}:
-
-
- A{{3 - index}} - {{ sognatore.name }} {{ sognatore.surname }}
- ({{sognatore.username }})
-
-
-
-
{{$t('dashboard.mediatore')}}:
-
- {{ nave.rec.mediatore.recmediatore.name }} {{
- nave.rec.mediatore.recmediatore.surname }} ({{
- nave.rec.mediatore.recmediatore.username }})
-
-
-
-
{{$t('dashboard.intermedio')}}3:
-
-
- B{{index + 1}} - {{ terra.name }} {{ terra.surname }} ({{
- terra.username
- }})
- - {{
- terra.riga}}.{{terra.col}}
-
-
-
-
-
{{$t('dashboard.intermedio')}}2:
-
-
- C{{index + 1}} - {{ aria.name }} {{ aria.surname }} ({{
- aria.username
- }}) -
- {{
- aria.riga}}.{{aria.col}}
-
-
-
-
{{$t('dashboard.donatori')}}:
-
-
-
- {{ getindex(donatore, index + 1) }} - {{ donatore.name }} {{
- donatore.surname }}
- ({{ donatore.username }}) - {{ donatore.riga}}.{{donatore.col}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{$t('dashboard.doni_ricevuti')}}:
-
-
{{getDoniConfermati()}}
-
-
-
- {{$t('dashboard.doni_inviati_da_confermare')}}:
-
-
{{getDoniAttesaDiConferma()}}
-
-
-
- {{$t('dashboard.doni_mancanti')}}:
-
-
{{getDoniMancanti()}}
-
-
-
-
-
-
-
-
-
-
-
- {{ tools.getstrshortDayDateTime(props.row.date_made_gift) }}
-
-
-
-
-
-
-
-
-
- {{ $t('dialog.ok') }}
-
-
-
-
-
-
-
-
-
@@ -452,6 +493,7 @@
Whatsapp: {{seluser.profile.cell}}
+
+
+
+
+
+
+
+
+ Testo:
+
+
+
+
+
+
+
+
+
diff --git a/src/components/CTitleBanner/CTitleBanner.scss b/src/components/CTitleBanner/CTitleBanner.scss
index 339c857..bed14f2 100755
--- a/src/components/CTitleBanner/CTitleBanner.scss
+++ b/src/components/CTitleBanner/CTitleBanner.scss
@@ -1,3 +1,9 @@
.myshad {
text-shadow: .125rem .125rem .125rem darkgray;
}
+
+.nonvisibile{
+ border-radius: 16px;
+ border: red solid 3px;
+ padding: 4px;
+}
diff --git a/src/components/CTitleBanner/CTitleBanner.ts b/src/components/CTitleBanner/CTitleBanner.ts
index 1bfeb9c..322880f 100755
--- a/src/components/CTitleBanner/CTitleBanner.ts
+++ b/src/components/CTitleBanner/CTitleBanner.ts
@@ -53,4 +53,11 @@ export default class CTitleBanner extends Vue {
if (this.myvisible)
this.$emit('apri')
}
+
+ get getclass(){
+ if (this.myvisible)
+ return 'isvisibile'
+ else
+ return 'nonvisibile glossy'
+ }
}
diff --git a/src/components/CTitleBanner/CTitleBanner.vue b/src/components/CTitleBanner/CTitleBanner.vue
index 6f9c34a..6ecf6d2 100755
--- a/src/components/CTitleBanner/CTitleBanner.vue
+++ b/src/components/CTitleBanner/CTitleBanner.vue
@@ -3,7 +3,7 @@
diff --git a/src/rootgen/admin/listadoninavi/listadoninavi.ts b/src/rootgen/admin/listadoninavi/listadoninavi.ts
index 8d8475a..828e8dd 100755
--- a/src/rootgen/admin/listadoninavi/listadoninavi.ts
+++ b/src/rootgen/admin/listadoninavi/listadoninavi.ts
@@ -34,6 +34,7 @@ export default class Listadoninavi extends MixinBase {
public msg_tosend: string = ''
public msg_tosend_user: string = ''
public showtesto: boolean = false
+ public showall: boolean = false
public seltesto: string = ''
public pagination = {
sortBy: 'desc',
@@ -69,10 +70,10 @@ export default class Listadoninavi extends MixinBase {
sortable: true
},
{ name: 'date_start', align: 'center', label: '⏰ Partenza', field: 'date_start', sortable: true },
+ { name: 'sognatore', align: 'center', label: 'Sognatore', field: '', sortable: true },
{ name: 'provvisoria', align: 'center', label: 'Temp.', field: 'provvisoria', sortable: true },
{ name: 'tutor', align: 'left', label: 'Tutor', field: 'tutor', sortable: true },
{ name: 'mediatore', align: 'center', label: '🌀 Mediatore', field: '', sortable: true },
- { name: 'sognatore', align: 'center', label: 'Sognatore', field: '', sortable: true },
{ name: 'donatori', align: 'center', label: 'Donatori', field: '', sortable: true },
{ name: 'DoniConfermati', align: 'center', label: '🎁 OK', field: 'DoniConfermati', sortable: true },
{ name: 'DoniAttesaDiConferma', align: 'center', label: '🎁 Wait', field: 'DoniAttesaDiConferma', sortable: true },
@@ -106,7 +107,7 @@ export default class Listadoninavi extends MixinBase {
this.loading = true
// this.$q.loading.show({ message: this.$t('otherpages.update') })
- const ris = await GlobalStore.actions.GetArrDoniNavi({ ricalcola })
+ const ris = await GlobalStore.actions.GetArrDoniNavi({ ricalcola, showall: this.showall })
console.log('ris', ris)
this.arrdoninavi = ris.arrnavi
diff --git a/src/rootgen/admin/listadoninavi/listadoninavi.vue b/src/rootgen/admin/listadoninavi/listadoninavi.vue
index 3aa0dc8..17e7327 100755
--- a/src/rootgen/admin/listadoninavi/listadoninavi.vue
+++ b/src/rootgen/admin/listadoninavi/listadoninavi.vue
@@ -1,357 +1,365 @@
-
-
-
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{$t('dashboard.donatori')}}
+
+
+
+
+
+
-
+
+
Invia un Messaggio a tutti questi Donatori:
+
-
-
-
-
- {{$t('dashboard.donatori')}}
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+ {{ seluser.name }} {{ seluser.surname }}
+
+
+
+
+
+
+
+
+
+
+
+
+
{{$t('dialog.sendmsg')}} -> {{seluser.name }} {{ seluser.surname }}:
+
-
-
-
+
-
-
Invia un Messaggio a tutti questi Donatori:
-
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+ Testo:
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ seluser.name }} {{ seluser.surname }}
-
-
-
-
-
-
-
-
-
-
-
-
-
{{$t('dialog.sendmsg')}} -> {{seluser.name }} {{ seluser.surname }}:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Testo:
-
-
-
-
-
-
-
-
-
-
+
diff --git a/src/statics/lang/de.js b/src/statics/lang/de.js
index 542976f..283c00a 100755
--- a/src/statics/lang/de.js
+++ b/src/statics/lang/de.js
@@ -1,5 +1,9 @@
const msg_de = {
de: {
+ words:{
+ da: 'from',
+ a: 'to',
+ },
home: {
guida_passopasso: 'Step By Step Guide'
},
diff --git a/src/statics/lang/enUs.js b/src/statics/lang/enUs.js
index d6d8829..333236d 100755
--- a/src/statics/lang/enUs.js
+++ b/src/statics/lang/enUs.js
@@ -1,5 +1,9 @@
const msg_enUs = {
enUs: {
+ words:{
+ da: 'from',
+ a: 'to',
+ },
home: {
guida_passopasso: 'Step By Step Guide'
},
@@ -53,8 +57,8 @@ const msg_enUs = {
},
steps: {
nuovo_imbarco: 'Book another Trip',
- vuoi_entrare_nuova_nave: 'If you confirm, when your ship is ready to sail, you will make a New Gift to repeat another Trip.
' +
- 'In this way you will help all ships to advance and grow the movement.',
+ vuoi_entrare_nuova_nave: 'Do you wish to help the Movement to advance and intend to enter another Ship?
By making a New Gift of 33€, you will be able to travel another journey and have another opportunity to become a Dreamer!
' +
+ 'If you confirm, you\'ll be added to the waiting list for the next boarding.',
vuoi_cancellare_imbarco: 'Are you sure you want to cancel this boarding on the AYNI ship?',
completed: 'Completed',
passi_su: '{passo} steps out of {totpassi}',
@@ -200,9 +204,16 @@ const msg_enUs = {
nave_in_partenza: 'on Departure on',
nave_partita: 'departed on',
tutor: 'Tutor',
- sonomediatore: '',
- sonodonatore: '',
- sonodonatore_seconda_tessitura: '',
+ sonomediatore: 'When you become a Medalist you are contacted by a TUTOR, with him you must:
' +
+ '- Open your Gift Chat (you as owner and the Tutor as administrator) with this name:
{nomenave} ' +
+ '- Click on the chat name at the top -> Edit -> Administrators -> "Add Administrator", select the Tutor in the list.
' +
+ '- 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.
' +
+ '- To find the link to the newly created Chat: 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 "Link Gift Chat"
" + box below.' +
+ '- Send the Gift Chat Link to all Donors by clicking on the button below.
.',
+ sonodonatore: '- When you are in this position, you will be invited to enter a Gift Chat (Telegram) and here you will also find the other 7 Donors, the Mediator, the Dreamer and a Staff representative.' +
+ '
- You will make your gift EXACTLY on the days indicated and in the payment method that you will find written here.
.',
+ sonodonatore_seconda_tessitura: '- Here you are Mediator and also Donor, but being the second Weaving, you won\'t need to make your gift again.
',
controlla_donatori: 'Check Donor List',
link_chat: 'Gift Chat Telegram links',
tragitto: 'Route',
@@ -229,7 +240,7 @@ const msg_enUs = {
metodi_disponibili: 'Available Methods',
importo: 'Amount',
effettua_il_dono: 'It\'s time to make your Gift!
' +
- 'Send via PayPal to: {email}
' +
+ 'Send via PayPal to: {email}
' +
'(Choose the option "SEND TO SOMEONE YOU TRUST")
',
qui_compariranno_le_info: 'On the day of departure of the Ship, the information of the Dreamer will appear',
posizione: 'Position',
@@ -238,7 +249,7 @@ const msg_enUs = {
clicca_conferma_dono: 'Click here to confirm that you have made your gift',
fatto_dono: 'You have confirmed that the gift has been sent',
confermi_dono: 'Confirm that you have sent your 33€ Gift',
- dono_ricevuto: 'Your Gift has been Received Correctly',
+ dono_ricevuto: 'Your Gift has been Received!',
dono_ricevuto_2: 'Received',
dono_ricevuto_3: 'Arrived!',
confermi_dono_ricevuto: 'Confirm that you have received the 33€ Gift from {donatore}',
diff --git a/src/statics/lang/es.js b/src/statics/lang/es.js
index 8a75218..05d0490 100755
--- a/src/statics/lang/es.js
+++ b/src/statics/lang/es.js
@@ -1,5 +1,9 @@
const msg_es = {
es: {
+ words:{
+ da: 'del',
+ a: 'al',
+ },
home: {
guida_passopasso: 'Guía paso a paso'
},
@@ -54,8 +58,8 @@ const msg_es = {
},
steps: {
nuovo_imbarco: 'Reserva otro viaje',
- vuoi_entrare_nuova_nave: 'Si confirma, cuando su barco esté listo para zarpar, hará un nuevo regalo para repetir otro viaje..
' +
- 'De esta manera ayudarás a todas las naves a avanzar y hacer crecer el movimiento.',
+ vuoi_entrare_nuova_nave: '¿Desea ayudar al Movimiento a avanzar y tiene la intención de entrar en otra nave?
Haciendo un nuevo regalo de 33 euros, podrá hacer otro viaje y tener otra oportunidad de convertirse en un Soñador!
' +
+ 'Si lo confirma, se le añadirá a la lista de espera para el próximo embarque.',
vuoi_cancellare_imbarco: '¿Está seguro de que quiere cancelar el embarque en el barco de AYNI?',
completed: 'Completado',
passi_su: '{passo} pasos de cada {totpassi}',
@@ -203,7 +207,7 @@ const msg_es = {
traduttrici: 'Traduttrici',
sonomediatore: 'Cuando te conviertes en Mediador vienes contactado por un TUTOR, con él debes:
' +
'- Abrir tu Gift Chat (tu como propietario, y el Tutor ' +
- 'como administrador) con este nombre: {nomenave}
' +
+ 'como administrador) con este nombre:
{nomenave}' +
'- Haz clic en tu nombre en la chat en la parte de arriba-> Modifica -> Administradores -> "Agregar Administrador", selecciona el Tutor en el elenco.
' +
'- 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.
' +
@@ -238,7 +242,7 @@ const msg_es = {
metodi_disponibili: 'Métodos disponibles',
importo: 'Cantidad',
effettua_il_dono: 'Es hora de hacer tu regalo!
' +
- 'Enviar por medio de PayPal a: {email}
' +
+ 'Enviar por medio de PayPal a: {email}
' +
'(Elija la opción "ENVIAR A ALGUIEN DE CONFIANZA")
',
qui_compariranno_le_info: 'El día de la salida de la nave, la información del Soñador aparecerá',
posizione: 'Position',
@@ -247,7 +251,7 @@ const msg_es = {
clicca_conferma_dono: 'Haz clic aquí para confirmar que has hecho tu regalo',
fatto_dono: 'Ha confirmado que el regalo ha sido enviado',
confermi_dono: 'Confirme que ha enviado su regalo de 33 €',
- dono_ricevuto: 'Tu regalo ha sido recibido correctamente',
+ dono_ricevuto: 'Tu regalo ha sido recibido!',
dono_ricevuto_2: 'Recibido',
dono_ricevuto_3: 'Ha llegado!',
confermi_dono_ricevuto: 'Confirme que ha recibido el regalo de 33 € de {donatore}',
diff --git a/src/statics/lang/fr.js b/src/statics/lang/fr.js
index 442bf1f..ad39bd7 100755
--- a/src/statics/lang/fr.js
+++ b/src/statics/lang/fr.js
@@ -1,5 +1,9 @@
const msg_fr = {
fr: {
+ words: {
+ da: 'du',
+ a: 'au',
+ },
home: {
guida_passopasso: 'Guide pas-à-pas'
},
@@ -54,8 +58,8 @@ const msg_fr = {
},
steps: {
nuovo_imbarco: 'Réserver un autre voyage',
- vuoi_entrare_nuova_nave: 'Si vous confirmez, lorsque votre navire est prêt à naviguer, vous ferez un Nouveau Cadeau pour répéter un autre voyage.
' +
- 'De cette façon, vous aiderez tous les navires à aller de l\'avant et à développer le mouvement.',
+ vuoi_entrare_nuova_nave: 'Vous souhaitez aider le Mouvement à avancer et avez l\'intention d\'entrer dans un autre navire ?
En faisant un nouveau don de 33€, vous pourrez faire un autre voyage et avoir une autre opportunité de devenir un Rêveur !
' +
+ 'Si vous confirmez, vous serez ajouté à la liste d\'attente pour le prochain embarquement.',
vuoi_cancellare_imbarco: 'Êtes-vous sûr de vouloir annuler cet embarquement sur le navire AYNI ?',
completed: 'Complétée',
passi_su: '{passo} étapes sur {totpassi}',
@@ -201,7 +205,7 @@ const msg_fr = {
tutor: 'Tuteur',
sonomediatore: 'Quand vous devenez Médiateur vous êtes contacté par un TUTEUR, avec lui vous devez:
' +
'- Ouvrir votre Gift Chat (vous comme propriétaire et le Tuteur ' +
- 'comme administrateur) avec ce nom: {nomenave}
' +
+ 'comme administrateur) avec ce nom:
{nomenave}' +
'- Cliquez sur le nom du chat en haut -> Modifiez -> Administrateurs -> "Ajoutez Administrateur", sélectionner le Tuteur dans la liste.
' +
'- Vous devez configurer le chat de façon que la personne qui entre puisse également voir les post précédents (cliquez sur le nom du chat en haut, cliquez sur modifiez, ' +
'changez la "chronologie pour les nouveaux membres" de cachée à visibile.
' +
@@ -236,7 +240,7 @@ const msg_fr = {
metodi_disponibili: 'Méthodes disponibles',
importo: 'Montant',
effettua_il_dono: 'Il est temps de faire votre propre regalo ! ' +
- 'Envoyez via PayPal à : {email}
' +
+ 'Envoyez via PayPal à : {email}
' +
'(Choisissez l\'option "ENVOYER À UNE PERSONNE DE CONFIANCE")
',
qui_compariranno_le_info: 'Le jour du départ du navire, les informations du Dreamer apparaîtront',
posizione: 'Localisation',
@@ -245,7 +249,7 @@ const msg_fr = {
clicca_conferma_dono: 'Cliquez ici pour confirmer que vous avez fait votre regalo',
fatto_dono: 'Vous avez confirmé que le Regalo a été envoyé',
confermi_dono: 'Confirmez que vous avez envoyé votre Regalo de 33€',
- dono_ricevuto: 'Votre regalo a été reçu correctement',
+ dono_ricevuto: 'Votre regalo a été reçu!',
dono_ricevuto_2: 'Reçu',
dono_ricevuto_3: 'Arrivé!',
confermi_dono_ricevuto: 'Confirmez que vous avez reçu le regalo de 33 $ de {donatore}',
diff --git a/src/statics/lang/it.js b/src/statics/lang/it.js
index c321235..f3ded00 100755
--- a/src/statics/lang/it.js
+++ b/src/statics/lang/it.js
@@ -1,5 +1,9 @@
const msg_it = {
it: {
+ words:{
+ da: 'dal',
+ a: 'al',
+ },
home: {
guida_passopasso: 'Guida Passo Passo'
},
@@ -75,8 +79,8 @@ const msg_it = {
},
steps: {
nuovo_imbarco: 'Prenota un altro Viaggio',
- vuoi_entrare_nuova_nave: 'Se confermi, quando la tua Nave sarà pronta a salpare, farai un Nuovo Dono per ripetere un altro viaggio.
' +
- 'In questo modo aiuterai tutte le Navi ad avanzare e a far crescere il movimento.',
+ vuoi_entrare_nuova_nave: 'Desideri aiutare il Movimento ad avanzare e intendi entrare in un\'altra Nave?
Effettuando un Nuovo Dono di 33€, potrai percorrere un altro viaggio ed avere un\'altra opportunità di diventare Sognatore!
' +
+ 'Se confermi verrai aggiunto alla lista d\'attesa per i prossimi imbarchi.',
inserisci_invitante: 'Inserisci qui sotto l\'username della persona che vuoi aiutare, donandoti come suo Invitato:',
vuoi_cancellare_imbarco: 'Sicuro di voler cancellare questo imbarco in Nave AYNI?',
sei_stato_aggiunto: 'Sei stato aggiunto alla lista d\'imbarco! Nei prossimi giorni verrai aggiunto ad una Nuova Nave in partenza!',
@@ -231,7 +235,7 @@ const msg_it = {
traduttrici: 'Traduttrici',
sonomediatore: 'Quando diventi Meditore vieni contattato da un TUTOR, con lui devi:
' +
'- Aprire la tua Gift Chat (tu come proprietario e il Tutor ' +
- 'come amministratore) con questo nome: {nomenave}
' +
+ 'come amministratore) con questo nome:
{nomenave}' +
'- Clicca sul nome della chat in alto -> Modifica -> Amministratori -> "Aggiungi Amministratore", seleziona il Tutor nell’elenco.
' +
'- 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.
' +
@@ -245,7 +249,7 @@ const msg_it = {
tragitto: 'Tragitto',
nave: 'Nave',
data_partenza: 'Data
Partenza',
- doni_inviati: 'Doni
Inviati',
+ doni_inviati: 'Doni',
nome_dei_passaggi:'Nome
dei Passaggi',
donatori:'Donatori',
donatore:'Donatore',
@@ -266,7 +270,7 @@ const msg_it = {
metodi_disponibili: 'Metodi Disponibili',
importo: 'Importo',
effettua_il_dono: 'E\' arrivato il momento di Effettuare il proprio Dono!
' +
- 'Inviare tramite PayPal a: {email}
' +
+ 'Inviare tramite PayPal a: {email}
' +
'(Scegliere l\'opzione "INVIA A UNA PERSONA DI FIDUCIA")
',
qui_compariranno_le_info: 'Nel giorno della partenza della Nave, compariranno le informazioni del Sognatore',
posizione: 'Posizione',
@@ -275,7 +279,7 @@ const msg_it = {
clicca_conferma_dono: 'Clicca qui per confermare che hai effettuato il tuo dono',
fatto_dono: 'Hai confermato che il dono è stato Inviato',
confermi_dono: 'Confermi che hai inviato il tuo Dono di 33€',
- dono_ricevuto: 'Il tuo Dono è stato Ricevuto Correttamente',
+ dono_ricevuto: 'Il tuo Dono è stato Ricevuto!',
dono_ricevuto_2: 'Ricevuto',
dono_ricevuto_3: 'Arrivato!',
confermi_dono_ricevuto: 'Confermi di aver ricevuto il Dono di 33€ da parte di {donatore}',
diff --git a/src/statics/lang/pt.js b/src/statics/lang/pt.js
index cc2a4fa..dea509d 100755
--- a/src/statics/lang/pt.js
+++ b/src/statics/lang/pt.js
@@ -1,5 +1,9 @@
const msg_pt = {
pt: {
+ words:{
+ da: 'od',
+ a: 'do',
+ },
home: {
guida_passopasso: 'Guia Passo a Passo'
},
@@ -64,8 +68,8 @@ const msg_pt = {
},
steps: {
nuovo_imbarco: 'Reservar outra Viagem',
- vuoi_entrare_nuova_nave: 'Se confirmar, quando o seu navio estiver pronto para navegar, fará um Novo Presente para repetir outra viagem..
' +
- 'Desta forma, ajudará todos os navios a avançar e a fazer crescer o movimento.',
+ vuoi_entrare_nuova_nave: 'Deseja ajudar o Movimento a avançar e pretende entrar noutro Navio?
Ao fazer um Novo Presente de 33 euros, poderá viajar outra viagem e ter outra oportunidade de se tornar um Sonhador!
' +
+ 'Se confirmar, será acrescentado à lista de espera para o próximo embarque.',
vuoi_cancellare_imbarco: 'Tem a certeza de que quer cancelar este embarque no navio AYNI?',
completed: 'Completado',
passi_su: '{passo} passos em {totpassi}',
@@ -212,7 +216,7 @@ const msg_pt = {
tutor: 'Tutor',
sonomediatore: 'Quando diventi Meditore vieni contattato da un TUTOR, con lui devi:
' +
'- Aprire la tua Gift Chat (tu come proprietario e il Tutor ' +
- 'come amministratore) con questo nome: {nomenave}
' +
+ 'come amministratore) con questo nome:
{nomenave}' +
'- Clicca sul nome della chat in alto -> Modifica -> Amministratori -> "Aggiungi Amministratore", seleziona il Tutor nell’elenco.
' +
'- 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.
' +
@@ -247,7 +251,7 @@ const msg_pt = {
metodi_disponibili: 'Métodos disponíveis',
importo: 'Importo',
effettua_il_dono: 'Chegou o momento de fazer o seu Presente!
' +
- 'Enviar via PayPal para: {email}
' +
+ 'Enviar via PayPal para: {email}
' +
'(Escolha a opção "ENVIAR A ALGUÉM DA SUA CONFIANÇA".)
',
qui_compariranno_le_info: 'No dia da partida do Navio, a informação do Sonhador aparecerá',
posizione: 'Localização',
@@ -256,7 +260,7 @@ const msg_pt = {
clicca_conferma_dono: 'Clique aqui para confirmar que você fez o seu presente',
fatto_dono: 'Você confirmou que o presente foi enviado',
confermi_dono: 'Confirme que você enviou o seu Presente de 33€',
- dono_ricevuto: 'O seu Presente foi Recebido Correctamente',
+ dono_ricevuto: 'O seu Presente foi Recebido!',
dono_ricevuto_2: 'Recebido',
dono_ricevuto_3: 'Chegou!',
confermi_dono_ricevuto: 'Por favor, confirme que você recebeu o presente de 33€ de {donatore}',
diff --git a/src/statics/lang/si.js b/src/statics/lang/si.js
index 67a8198..3210303 100755
--- a/src/statics/lang/si.js
+++ b/src/statics/lang/si.js
@@ -1,5 +1,9 @@
const msg_si = {
si: {
+ words:{
+ da: 'da',
+ a: 'a',
+ },
home: {
guida_passopasso: 'Vodnik po korakih'
},
@@ -67,8 +71,8 @@ const msg_si = {
},
steps: {
nuovo_imbarco: 'Rezerviraj še eno potovanje',
- vuoi_entrare_nuova_nave: 'Če potrdiš, ko bo tvoja Ladja pripravljena za izplutje, boš Ponovno Doniral in ponovil novo potovanje.
' +
- 'Na ta način boste pomagali vsem ladjam pri napredovanju in rasti gibanja',
+ vuoi_entrare_nuova_nave: 'Želis pomagati Gibanju, napredovati in vstopiti v še eno\novo Ladjico?
Z novim vplačilom 33€, lahko pričneš novo potovanje in tako dobiš\še eno priložnost, da postaneš Sanjač!
' +
+ 'Če potrdiš boš dodan na seznam \čakajočih za vkrcavanje.',
vuoi_cancellare_imbarco: 'Ali ste prepričani, da želite izbrisati vaš vstop v Ladjo Ayni?',
completed: 'zaključen',
passi_su: '{passo} od {totpassi} koraki',
@@ -209,7 +213,7 @@ const msg_si = {
tutor: 'Tutor',
sonomediatore: 'Ko postaneš Mediator te kontaktira en TUTOR, z njim moraš:
' +
'- Odpret svoj Gift- Darilni klepet (ti kot lastnik in Tutor ' +
- 'kot administrator) s tem imenom: {nomenave}
' +
+ 'kot administrator) s tem imenom:
{nomenave}' +
'- Klikni na ime klepeta na vrhu-> Popravi -> Administratorji -> "Dodaj Administratorja", izberi Tutorja v imeniku.
' +
'- Moraš nastaviti klepet na način, da vsak, ki vstopi vidi predhodne objave(klikni na ime klepeta na vrhu, klikni na popravi, ' +
'spremeni "zgodovina za nove člane" iz skrite v vidno.
' +
@@ -244,7 +248,7 @@ const msg_si = {
metodi_disponibili: 'Načini na Voljo',
importo: 'Uvoz',
effettua_il_dono: 'Je\' prišel trenutek da Vplačaš svoje darilo!
' +
- 'Vplačaj preko PayPal a: {email}
' +
+ 'Vplačaj preko PayPal a: {email}
' +
'(Izberi možnost "Pošlji osebi, ki ji zaupaš")
',
qui_compariranno_le_info: 'Na dan odhoda Ladje, prejmete vse potrebne informacije s strani Sanjača',
posizione: 'Pozicija',
@@ -253,7 +257,7 @@ const msg_si = {
clicca_conferma_dono: 'Klikni tu, da potrdiš izvedeno vplačilo',
fatto_dono: 'Potrdil si, da je vplačilo bilo izvedeno',
confermi_dono: 'Potrdi da si vplačal 33€',
- dono_ricevuto: 'Tvoje vplačilo je prejeto',
+ dono_ricevuto: 'Tvoje vplačilo je prejeto!',
dono_ricevuto_2: 'Sprejeto',
dono_ricevuto_3: 'Prispelo!',
confermi_dono_ricevuto: 'Potrjujem, da sem sprejel darilo v znesku 33€ z strani {donatore}',
diff --git a/src/store/Modules/GlobalStore.ts b/src/store/Modules/GlobalStore.ts
index 231f38b..3876f08 100755
--- a/src/store/Modules/GlobalStore.ts
+++ b/src/store/Modules/GlobalStore.ts
@@ -920,12 +920,13 @@ namespace Actions {
})
}
- async function GetArrDoniNavi(context, { ricalcola }) {
+ async function GetArrDoniNavi(context, { ricalcola, showall }) {
console.log('GetArrDoniNavi')
const mydata = {
idapp: process.env.APP_ID,
- ricalcola
+ ricalcola,
+ showall
}
return await Api.SendReq('/dashboard/getdoninavi', 'POST', mydata)
diff --git a/src/store/Modules/tools.ts b/src/store/Modules/tools.ts
index 54d7ee6..6d6626b 100755
--- a/src/store/Modules/tools.ts
+++ b/src/store/Modules/tools.ts
@@ -53,6 +53,7 @@ export interface INotify {
export const tools = {
CAN_EDIT: 'q-ce',
TABBED_DASHBOARD: 't-db',
+ TABBED_NAVE: 't-nave',
getprefCountries: ['it', 'si', 'us', 'es', 'pt', 'uk', 'fr', 'de', 'ch', 'br', 'sk'],
@@ -1573,10 +1574,12 @@ export const tools = {
ind_order: par.param1.ind_order,
myfunc: func,
data: par.param2,
+ username: par.param2.username,
notifBot: null
}
- mydatatosave.notifBot = { un: par.param2, txt: par.param3 }
+ if (par.param2.notifBot)
+ mydatatosave.notifBot = { un: par.param2, txt: par.param3 }
GlobalStore.actions.callFunz({ mydata: mydatatosave }).then((ris) => {
if (ris) {
@@ -2546,11 +2549,13 @@ export const tools = {
if (Screen.width < 410) {
return '337'
} else if (Screen.width < 600) {
- return '400'
- } else if (Screen.width < 900) {
+ return '450'
+ } else if (Screen.width < 800) {
return '500'
- } else {
+ } else if (Screen.width < 900) {
return '600'
+ } else {
+ return '700'
}
},
@@ -3618,6 +3623,10 @@ export const tools = {
return this.getRiganave(mianave.riga) + '.' + this.getColnave(mianave.col)
},
+ getlastnavestr(lastnave) {
+ return lastnave.riga + '.' + lastnave.col
+ },
+
getmaxcol(riga) {
return Math.pow(2, riga - 1)
@@ -3632,17 +3641,17 @@ export const tools = {
},
getcolNaveByPosiz(col) {
- let ris = Math.ceil(col * Math.pow(2, 3) / (2 * 4))
+ let ris = Math.ceil(col * Math.pow(2, 3))
if (ris <= 1)
ris = 1
return ris
-
},
getfirstnaveSognatore(riga, col) {
const myriga = this.getrigaNaveByPosiz(riga)
const mycol = this.getcolNaveByPosiz(col)
+ // console.log(`${riga}.${col} => ${myriga}.${mycol}`)
return { riga: myriga, col: mycol }
},
@@ -3686,9 +3695,9 @@ export const tools = {
if (perc > 100)
perc = 100
- console.log('naveorig', naveorig.riga, '.', naveorig.col, 'dest', navedest.riga, ',', navedest.col)
- console.log('lastnave', lastnave.riga, '.', lastnave.col)
- console.log('contaattuale', contaattuale, 'contatot', contatot, 'perc', perc)
+ // console.log('naveorig', naveorig.riga, '.', naveorig.col, 'dest', navedest.riga, ',', navedest.col)
+ // console.log('lastnave', lastnave.riga, '.', lastnave.col)
+ // console.log('contaattuale', contaattuale, 'contatot', contatot, 'perc', perc)
return { perc, totale: contatot, contaattuale }
},
@@ -3700,6 +3709,14 @@ export const tools = {
ris = UserStore.state.isAdmin && !pertutti ? true : online
// console.log('isadmin', UserStore.state.isAdmin)
return ris
+ },
+
+ getsize() {
+ if (this.isMobile()) {
+ return '0.85rem'
+ } else {
+ return '1rem'
+ }
}