Notifica Telegram e Push quando mandi la stretta di mano
This commit is contained in:
@@ -142,6 +142,8 @@ export default defineComponent({
|
||||
const mypagination = computed(() => {
|
||||
if (props.table === toolsext.TABMYBACHECAS)
|
||||
return { sortBy: 'dateTimeStart', descending: false, page: 1, rowsNumber: 20, rowsPerPage: 20 }
|
||||
else if (props.table === toolsext.TABMYGROUPS)
|
||||
return { sortBy: 'date_created', descending: true, page: 1, rowsNumber: 20, rowsPerPage: 20 }
|
||||
else if (props.table === toolsext.TABMOVEMENTS)
|
||||
return { sortBy: 'transactionDate', descending: true, page: 1, rowsNumber: 20, rowsPerPage: 20 }
|
||||
else if (props.table === toolsext.TABCIRCUITS)
|
||||
@@ -951,18 +953,6 @@ export default defineComponent({
|
||||
tablesel: 'cities',
|
||||
icon: 'fas fa-map-marker-alt',
|
||||
},
|
||||
{
|
||||
label: 'Visiblità',
|
||||
table: 'visibilGroup',
|
||||
key: 'visibility',
|
||||
type: costanti.FieldType.multiselect,
|
||||
value: tools.getCookie(tools.COOK_SEARCH + 'visibility', costanti.FILTER_TUTTI),
|
||||
addall: true,
|
||||
arrvalue: [],
|
||||
useinput: true,
|
||||
filter: null,
|
||||
tablesel: 'visibility',
|
||||
},
|
||||
{
|
||||
label: 'Categorie',
|
||||
table: 'catgrps',
|
||||
@@ -975,6 +965,18 @@ export default defineComponent({
|
||||
useinput: false,
|
||||
icon: 'engineering',
|
||||
},
|
||||
{
|
||||
label: 'Visiblità',
|
||||
table: 'visibilGroup',
|
||||
key: 'visibility',
|
||||
type: costanti.FieldType.multiselect,
|
||||
value: tools.getCookie(tools.COOK_SEARCH + 'visibility', costanti.FILTER_TUTTI),
|
||||
addall: true,
|
||||
arrvalue: [],
|
||||
useinput: true,
|
||||
filter: null,
|
||||
tablesel: 'visibility',
|
||||
},
|
||||
]
|
||||
|
||||
filtercustom.value = []
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
>
|
||||
</CGalleryImages>
|
||||
|
||||
|
||||
<q-card-actions align="right">
|
||||
<div v-if="table === shared_consts.TABLES_MYBACHECAS" class="">
|
||||
<q-btn
|
||||
@@ -519,7 +520,11 @@
|
||||
/></q-item-label>
|
||||
</q-item-section>
|
||||
</q-item>
|
||||
<q-item clickable v-if="table === 'mybachecas'">
|
||||
<q-item clickable v-if="table === 'mybachecas' && calendarStore.getNumParticipants(
|
||||
myrec,
|
||||
true,
|
||||
tools.peopleWhere.participants
|
||||
) > 0 ">
|
||||
<q-item-section avatar>
|
||||
<q-icon color="blue" name="fas fa-user-check" />
|
||||
</q-item-section>
|
||||
|
||||
@@ -173,7 +173,7 @@
|
||||
</div>
|
||||
<div class="q-mx-sm">
|
||||
(
|
||||
<span v-if="table === shared_consts.TABLES_MYBACHECAS">
|
||||
<span v-if="table === shared_consts.TABLES_MYBACHECAS && tools.getNumPartecipantes(myrec) > 0">
|
||||
<span class="q-mx-xxs text-bold">{{
|
||||
tools.getNumPartecipantes(myrec)
|
||||
}}</span>
|
||||
|
||||
@@ -80,8 +80,9 @@
|
||||
<div v-if="signup.terms">
|
||||
<q-input
|
||||
v-if="
|
||||
showaportador &&
|
||||
signup.aportador_solidario !== tools.APORTADOR_NONE
|
||||
(showaportador &&
|
||||
signup.aportador_solidario !== tools.APORTADOR_NONE)
|
||||
&& v$.aportador_solidario.$error
|
||||
"
|
||||
ref="inputAportador"
|
||||
bg-color="lightblue"
|
||||
@@ -204,7 +205,7 @@
|
||||
</template>
|
||||
</q-input>
|
||||
|
||||
<q-input
|
||||
<!--<q-input
|
||||
ref="inputSurname"
|
||||
v-model="signup.surname"
|
||||
rounded
|
||||
@@ -222,7 +223,7 @@
|
||||
<template v-slot:prepend>
|
||||
<q-icon name="person" />
|
||||
</template>
|
||||
</q-input>
|
||||
</q-input>-->
|
||||
<q-input
|
||||
ref="inputPassword"
|
||||
v-model="signup.password"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { computed, defineComponent, PropType, ref } from 'vue'
|
||||
import { computed, defineComponent, onMounted, PropType, ref } from 'vue'
|
||||
|
||||
import { ICalcStat, IOperators } from '../../model'
|
||||
import { useUserStore } from '../../store/UserStore'
|
||||
@@ -27,12 +27,20 @@ export default defineComponent({
|
||||
const globalStore = useGlobalStore()
|
||||
|
||||
const site = ref(globalStore.site)
|
||||
const username_telegram_aportador = ref('')
|
||||
|
||||
function load() {
|
||||
///
|
||||
}
|
||||
|
||||
onMounted(load)
|
||||
|
||||
return {
|
||||
userStore,
|
||||
globalStore,
|
||||
tools,
|
||||
site,
|
||||
username_telegram_aportador,
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
@@ -13,16 +13,15 @@
|
||||
</div>
|
||||
|
||||
<div v-if="userStore.isUserWaitingVerifAportador()" class="centeritems">
|
||||
<q-banner inline-actions rounded class="bg-orange text-black">
|
||||
<q-banner inline-actions rounded class="bg-green text-black">
|
||||
<template v-slot:avatar>
|
||||
<q-icon name="info" color="primary" />
|
||||
</template>
|
||||
<strong
|
||||
<strong class="text-h5"
|
||||
>Appena sarai abilitato, dal tuo invitante
|
||||
{{ tools.getAportadorSolidario() }}, ti arriverà una
|
||||
<strong>notifica su Telegram</strong>.<br /><br />
|
||||
Se non dovesse arrivarti entro 24 ore prova a mandargli un
|
||||
messaggio.<br />
|
||||
<strong>notifica sulla Chat Telegram 'BOT RISO'</strong>.<br /><br />
|
||||
Se non dovesse arrivarti entro 24 ore, apri il suo profilo e clicca su 'Messaggia' e scrivigli.<br />
|
||||
</strong>
|
||||
|
||||
<q-btn
|
||||
@@ -31,9 +30,23 @@
|
||||
color="primary"
|
||||
icon="fas fa-user"
|
||||
:to="tools.getLinkProfileAportador()"
|
||||
:label="`Profilo di ` + tools.getAportadorSolidario()"
|
||||
:label="`Apri il Profilo di ` + tools.getAportadorSolidario()"
|
||||
>
|
||||
</q-btn>
|
||||
<br><br>
|
||||
<div class="text-h5"> Oppure manda un messaggio all'assistenza:</div>
|
||||
<q-btn
|
||||
rounded
|
||||
type="a"
|
||||
class="q-ma-sm"
|
||||
color="primary"
|
||||
icon="fab fa-telegram"
|
||||
href="https://t.me/surya1977"
|
||||
:label="`Contatta l'Assistenza (Paolo)`"
|
||||
>
|
||||
</q-btn>
|
||||
|
||||
|
||||
</q-banner>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -24,12 +24,19 @@
|
||||
:label="$t('tabdown.home')"
|
||||
icon="fas fa-home"
|
||||
/>
|
||||
<q-route-tab
|
||||
<!--<q-route-tab
|
||||
v-if="site.confpages.showViewGroups"
|
||||
class="mylabfooter"
|
||||
:label="$t('tabdown.groups')"
|
||||
to="/groups"
|
||||
icon="fas fa-users"
|
||||
/>-->
|
||||
<q-route-tab
|
||||
v-if="site.confpages.showViewEventi"
|
||||
class="mylabfooter"
|
||||
:label="$t('tabdown.eventi')"
|
||||
to="/events"
|
||||
icon="fas fa-calendar-week"
|
||||
/>
|
||||
<q-route-tab
|
||||
v-if="site.confpages.showViewCircuits"
|
||||
|
||||
Reference in New Issue
Block a user