- "La Mia Lavagna" ora è visibile il numero di Invitati che hanno i requisiti, dei propri invitati.
- Sistemato la funzione di poter Donare un invitato a qualcun'altro. - E' possibile cancellare un proprio invitato registrato (solo se non ha registrato altri invitati). - Aggiornati testi sul BOT. - Se devo verificare telegram, mi compare nella parte in alto del sito! Per Staff Admin: - Notifica sul BOT per ogni modifica dell'invitante o eliminazione di un invitato.
This commit is contained in:
@@ -49,6 +49,9 @@ export default class CMyDashboard extends MixinUsers {
|
||||
{
|
||||
icon: 'email',
|
||||
textlang: 'reg.verified_email',
|
||||
textadd(user) {
|
||||
return ''
|
||||
},
|
||||
isok(user) {
|
||||
if (user)
|
||||
return user.verified_email
|
||||
@@ -60,6 +63,9 @@ export default class CMyDashboard extends MixinUsers {
|
||||
{
|
||||
icon: 'fab fa-telegram',
|
||||
textlang: 'reg.telegram',
|
||||
textadd(user) {
|
||||
return ''
|
||||
},
|
||||
isok(user) {
|
||||
if (user)
|
||||
if (user.profile)
|
||||
@@ -72,6 +78,9 @@ export default class CMyDashboard extends MixinUsers {
|
||||
{
|
||||
icon: 'fas fa-video',
|
||||
textlang: 'steps.zoom_partecipa',
|
||||
textadd(user) {
|
||||
return ''
|
||||
},
|
||||
isok(user) {
|
||||
if (user)
|
||||
if (user.profile)
|
||||
@@ -83,6 +92,9 @@ export default class CMyDashboard extends MixinUsers {
|
||||
{
|
||||
icon: 'fas fa-heart',
|
||||
textlang: 'steps.dream',
|
||||
textadd(user) {
|
||||
return ''
|
||||
},
|
||||
isok(user) {
|
||||
if (user)
|
||||
if (user.profile.my_dream)
|
||||
@@ -95,12 +107,40 @@ export default class CMyDashboard extends MixinUsers {
|
||||
{
|
||||
icon: 'far fa-credit-card',
|
||||
textlang: 'steps.paymenttype',
|
||||
textadd(user) {
|
||||
return ''
|
||||
},
|
||||
isok(user) {
|
||||
if (user)
|
||||
if (user.profile.paymenttypes)
|
||||
return user.profile.paymenttypes.length > 20
|
||||
else
|
||||
return false
|
||||
let ispaypal = false
|
||||
if (user) {
|
||||
if (!!user.profile.paymenttypes) {
|
||||
if (user.profile.paymenttypes.includes('paypal')) {
|
||||
if (user.profile.email_paypal) {
|
||||
ispaypal = true
|
||||
}
|
||||
}
|
||||
if (!!user.profile)
|
||||
if (!!user.profile.paymenttypes) {
|
||||
const ris = (user.profile.paymenttypes.length >= 2) && ispaypal
|
||||
return ris
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
return false
|
||||
},
|
||||
info: '',
|
||||
},
|
||||
{
|
||||
icon: 'fas fa-users',
|
||||
textlang: 'dashboard.numinvitati',
|
||||
textadd(user) {
|
||||
return ' (' + user.numinvitatiattivi + ' / ' + user.numinvitati + ')'
|
||||
},
|
||||
isok(user) {
|
||||
if (user) {
|
||||
return user.numinvitatiattivi >= 2
|
||||
}
|
||||
},
|
||||
info: '',
|
||||
},
|
||||
@@ -174,6 +214,14 @@ export default class CMyDashboard extends MixinUsers {
|
||||
})
|
||||
}
|
||||
|
||||
public async deleteUserFromUsersList(user) {
|
||||
|
||||
await tools.askConfirm(this.$q, translate('reg.cancella_invitato'), translate('reg.cancella_invitato') + ' ' + user.name + ' ' + user.surname + '?', translate('dialog.yes'), translate('dialog.no'), this, '', lists.MenuAction.DELETE_USERLIST, 0, {
|
||||
param1: user,
|
||||
param2: true
|
||||
})
|
||||
}
|
||||
|
||||
public async RegalaInvitato(user, aportador_solidario, notifBottxt) {
|
||||
let notiftxt = ''
|
||||
if (this.notifBot)
|
||||
|
||||
@@ -129,7 +129,7 @@
|
||||
|
||||
<div v-if="!isextralist(seluser)">
|
||||
<div v-for="req of arrrequisiti">
|
||||
<CRequisito :icon="req.icon" :text="$t(req.textlang)" :isok="req.isok(seluser)"
|
||||
<CRequisito :icon="req.icon" :text="$t(req.textlang) + req.textadd(seluser)" :isok="req.isok(seluser)"
|
||||
:info="req.info"></CRequisito>
|
||||
</div>
|
||||
|
||||
@@ -163,22 +163,43 @@
|
||||
|
||||
<q-toggle v-model="notifBot" :label="$t('dashboard.sendnotification')"/>
|
||||
|
||||
<q-btn class="q-ma-sm" rounded color="positive" text-color="white" icon="fas fa-gift" :label="$t('reg.regala_invitato')"
|
||||
<q-btn class="q-ma-sm" rounded color="positive" text-color="white" icon="fas fa-gift"
|
||||
:label="$t('reg.regala_invitato')"
|
||||
:disabled='!allowSubmit'
|
||||
@click="RegalaInvitato(seluser, aportador_solidario, getnotifBotTxt)"></q-btn>
|
||||
</div>
|
||||
</CTitleBanner>
|
||||
|
||||
<CTitleBanner v-if="seluser.numinvitati <= 0" class="shadow-2 rounded-borders text-center"
|
||||
:title="$t('reg.cancella_invitato')"
|
||||
bgcolor="bg-negative"
|
||||
clcolor="text-white"
|
||||
:visible="false"
|
||||
mystyle=" " myclass="myshad" :canopen="true">
|
||||
|
||||
<q-btn rounded text-color="red" icon="delete"
|
||||
:label="$t('reg.cancella_invitato')"
|
||||
@click="deleteUserFromUsersList(seluser)"></q-btn>
|
||||
</CTitleBanner>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div v-else>
|
||||
<div class="column justify-center q-gutter-sm q-pa-sm">
|
||||
|
||||
<CRequisito icon="fas fa-user" text="dashboard.notreg" :isok="false"
|
||||
<CRequisito icon="fas fa-user" :text="$t('dashboard.notreg')" :isok="false"
|
||||
info=""></CRequisito>
|
||||
|
||||
<q-btn rounded text-color="red" icon="delete" :label="$t('reg.cancella_invitato')"
|
||||
@click="deleteUserFromExtraList(seluser)"></q-btn>
|
||||
<CTitleBanner class="shadow-2 rounded-borders text-center"
|
||||
:title="$t('reg.cancella_invitato')"
|
||||
bgcolor="bg-negative"
|
||||
clcolor="text-white"
|
||||
:visible="false"
|
||||
mystyle=" " myclass="myshad" :canopen="true">
|
||||
<q-btn rounded text-color="red" icon="delete" :label="$t('reg.cancella_invitato')"
|
||||
@click="deleteUserFromExtraList(seluser)"></q-btn>
|
||||
</CTitleBanner>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -170,15 +170,10 @@
|
||||
target="_blank">store</a> o <a href="https://zoom.us/support/download"
|
||||
target="_blank">da PC</a>)
|
||||
</li>
|
||||
<li>1B. Fai il test per vedere se funziona: <a href="https://zoom.us/test" target="_blank">Esegui
|
||||
TEST</a></li>
|
||||
<li>2. Clicca "Join meeting"</li>
|
||||
<li>3. Inserisci il codice ID</li>
|
||||
<li>4. Sotto inserisci il tuo nominativo per essere riconosciuto</li>
|
||||
<li>5. Clicca "join meeting"</li>
|
||||
<li>6. Clicca "call in device" altrimenti non potrai sentire 🔊</li>
|
||||
<li>7. SILENZIARE I MICROFONI clicca sullo schermo e si aprirà una banda in basso</li>
|
||||
<li>8. Clicca 🔇 per SILENZIARE</li>
|
||||
<li>2. Inserisci il tuo Nome e Cognome per essere riconosciuto</li>
|
||||
<li>3. Clicca "join meeting"</li>
|
||||
<li>4. Clicca "call in device" altrimenti non potrai sentire 🔊</li>
|
||||
<li>5. Clicca il microfono per Attivarlo o Silenziarlo.</li>
|
||||
</ul>
|
||||
|
||||
<div class="text-h6"><strong>In più avrai:</strong></div>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<q-item-section>
|
||||
<q-item-label>{{ user.name }} {{ user.surname }} {{ getindorder(user) }}<br>
|
||||
<span class="text-grey">({{ getusername(user) }})</span>
|
||||
<br><span v-if="isextralist(user)" class="notreg">{{$t('dashboard.notreg')}}</span>
|
||||
<br><span v-if="isextralist(user)" class="notreg">{{ $t('dashboard.notreg') }}</span>
|
||||
</q-item-label>
|
||||
<!--<q-item-label caption lines="1">{{ user.email }}</q-item-label>-->
|
||||
</q-item-section>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<div v-if="!TelegVerificato" class="q-pa-sm q-gutter-sm">
|
||||
<div v-if="!TelegCode"><strong>{{ $t('components.authentication.telegram.open')}}</strong></div>
|
||||
<div class="q-ma-md">
|
||||
<q-btn color="primary" icon="fab fa-telegram" :label="$t('components.authentication.telegram.openbot')"
|
||||
<q-btn rounded color="primary" icon="fab fa-telegram" :label="$t('components.authentication.telegram.openbot')"
|
||||
type="a"
|
||||
:href="getLinkBotTelegram" target="_blank"></q-btn>
|
||||
<br>
|
||||
|
||||
Reference in New Issue
Block a user