la creazione dell'annuncio impiega troppo tempo (e le persone cliccavano su "Salva" più volte)...

This commit is contained in:
Surya Paolo
2023-06-18 22:29:12 +02:00
parent 33493bdfe4
commit ef4751dfb2
13 changed files with 62 additions and 31 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1219,7 +1219,6 @@
<q-btn flat round color="white" icon="close" v-close-popup></q-btn>
</q-bar>
<q-card-section class="inset-shadow">
newRecord: {{ newRecord }}
<div
:class="$q.screen.lt.sm ? `` : `row` + ` text-blue `"
v-for="col in mycolumns"

View File

@@ -9,7 +9,6 @@
>
</CGalleryImages>
<q-card-actions align="right">
<div v-if="table === shared_consts.TABLES_MYBACHECAS" class="">
<q-btn
@@ -277,7 +276,13 @@
}}</q-item-label>
</q-item-section>
</q-item>
<q-item v-if="myrec.idStatusSkill && myrec.idStatusSkill.length > 0 && JSON.stringify(myrec.idStatusSkill) !== '[1]'">
<q-item
v-if="
myrec.idStatusSkill &&
myrec.idStatusSkill.length > 0 &&
JSON.stringify(myrec.idStatusSkill) !== '[1]'
"
>
<q-item-section avatar>
<q-icon color="green" name="mood" />
</q-item-section>
@@ -449,7 +454,11 @@
>
</CMyGroup>
</q-card>
<q-card v-else-if="!myrec.organisedBy" class="my-card clBorderUser" bordered>
<q-card
v-else-if="!myrec.organisedBy"
class="my-card clBorderUser"
bordered
>
<CMyUser
:mycontact="myrec"
:visu="costanti.FIND_PEOPLE"
@@ -542,11 +551,17 @@
/></q-item-label>
</q-item-section>
</q-item>
<q-item clickable v-if="table === 'mybachecas' && calendarStore.getNumParticipants(
myrec,
true,
tools.peopleWhere.participants
) > 0 ">
<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>
@@ -615,6 +630,9 @@
<q-item-section>
<q-item-label>
<span v-if="myrec.contribstr"
><br />{{ myrec.contribstr }}</span
>
<span
v-for="(reccontr, index) in myrec.idContribType"
:key="index"
@@ -627,9 +645,6 @@
{{ calendarStore.getContribtypeById(reccontr) }}
</q-chip>
</span>
<span v-if="myrec.contribstr"
><br />{{ myrec.contribstr }}</span
>
</q-item-label>
</q-item-section>
</q-item>
@@ -886,8 +901,9 @@
</q-toolbar>
<div class="q-pa-xs">
<q-card class="text-white windowcol" style="display: block">
<q-card class="windowcol" style="display: block">
<q-card-section class="q-pa-xs">
<div>{{ $t('cal.infoprenota') }}</div><br>
<div style="display: inline-flex" class="q-px-xs centermydiv">
<q-checkbox
style="color: black"

View File

@@ -34,6 +34,8 @@
<div v-if="rec.value === shared_consts.TypeNotifs.TYPEDIR_BACHECA">
<div
v-if="tools.isBitActive(getnotifbydir(shared_consts.TypeNotifs.TYPEDIR_BACHECA), shared_consts.UsersNotif.NEW_ADV_SECTOR)">
{{$t('sectors.sector_select_details')}}
<br>
<CMyFieldDb
:title="$t('sectors.sector_goods_select')"
table="users"

View File

@@ -153,8 +153,8 @@ function getDynamicPages(site: ISites): IListRoutes[] {
name: 'mypages.groups',
component: () => import('@/views/user/mygroups/mygroups.vue'),
meta: { requiresAuth: true },
inmenu: true,
infooter: true,
inmenu: false,
infooter: false,
},
{
active: site.confpages && site.confpages.enableCircuits,
@@ -164,8 +164,8 @@ function getDynamicPages(site: ISites): IListRoutes[] {
name: 'mypages.circuits',
component: () => import('@/views/user/mycircuits/mycircuits.vue'),
meta: { requiresAuth: true },
inmenu: true,
infooter: true,
inmenu: false,
infooter: false,
},
{
active: true,
@@ -188,6 +188,14 @@ function getDynamicPages(site: ISites): IListRoutes[] {
inmenu: false,
infooter: false,
},
{
active: true,
path: '/separator',
name: 'separator',
order: 140,
isseparator: true,
inmenu: true,
},
{
active: true,
order: 130,
@@ -239,8 +247,8 @@ function getDynamicPages(site: ISites): IListRoutes[] {
materialIcon: 'fas fa-hand-holding-heart',
name: 'pages.fundraising',
component: () => import('@src/root/fundraising/fundraising.vue'),
inmenu: true,
infooter: true,
inmenu: false,
infooter: false,
},
{
active: true,
@@ -250,8 +258,8 @@ function getDynamicPages(site: ISites): IListRoutes[] {
name: 'ris.calendario_eventi_riso',
component: () => import('@/root/calendarioeventi/calendarioeventi.vue'),
extraclass: 'isCalendar',
inmenu: true,
infooter: true
inmenu: false,
infooter: false
},
]

View File

@@ -545,7 +545,7 @@ function getRoutesAd(site: ISites) {
inmenu: false,
infooter: true
},
{
/*{
active: site.confpages && site.confpages.enableRegByBot,
order: 1000,
path: '/bot',
@@ -554,7 +554,7 @@ function getRoutesAd(site: ISites) {
inmenu: site.confpages && site.confpages.enableRegByBot,
infooter: site.confpages && site.confpages.enableRegByBot,
separator: false
},
},*/
{
active: site.confpages && site.confpages.enableReg && (!site.confpages.enabledRegNeedTelegram || site.confpages.enableRegMultiChoice),
order: 1000,

View File

@@ -821,6 +821,7 @@ const msg_it = {
selnumpeopleDinnerShared: 'Cena Condivisa',
selnumpeople_short: 'Num',
msgbooking: 'Messaggio da inviare',
infoprenota: 'Per prenotare l\'Evento cliccare su "Prenoto per" e scegliere in quanti siete.',
writemsg: 'Scrivi qui se vuoi lasciare un messaggio',
showpdf: 'Vedi PDF',
bookingtextdefault: 'Prenoto per',
@@ -953,7 +954,7 @@ const msg_it = {
address: 'Indirizzo Località',
min_partecip: 'Minimo partecipanti',
max_partecip: 'Massimo partecipanti',
contribstr: 'Contributo',
contribstr: 'Contributo (esempio: 5€ + 5 RIS)',
contact_phone: 'Telefono per info',
contact_telegram: 'Username Telegram',
},
@@ -1051,6 +1052,7 @@ const msg_it = {
name: 'Settore',
sector_general: 'Settori',
sector_select: 'Scegli i Settori Preferiti',
sector_select_details: 'Ti arriveranno le notifiche dei nuovi annunci, solo per i Settori selezionati qui sotto (se lasci su "nessuno" arriveranno tutti).',
sector_goods: 'Settori dei Beni',
sector_goods_select: 'Scegli i Settori Preferiti dei Beni',
},

View File

@@ -201,7 +201,11 @@
<div class="col-12 text-h7 text-blue text-shadow-2">
{{ userStore.userprofile.username }}
</div>
<q-btn rounded icon="fas fa-ellipsis-h">
<q-btn
v-if="userStore.userprofile.username === myusername()"
rounded
icon="fas fa-ellipsis-h"
>
<q-menu>
<q-list style="min-width: 150px">
<q-item