- Aggiunta della funzione Cron

- Flag: Pubblicati OnLine + Solo CagalogoGenerale + Dettagli
This commit is contained in:
Surya Paolo
2025-05-07 21:58:05 +02:00
parent 2cc8fcda03
commit 6eb6f236e4
20 changed files with 235 additions and 29 deletions

View File

@@ -3,14 +3,9 @@
<q-card
v-if="myrec"
bordered
:style="`width: ` + opt.widthcard + `; ` + (opt.heightcard ? `height: ` + opt.heightcard + `; ` : '')"
:style="`width: ` + opt.widthcard + `; ` + (opt.heightcard ? `height: ` + opt.heightcard + `;`: '')"
>
<!--<q-skeleton
v-if="!myrec.foto_collana"
type="QAvatar"
:width="opt.widthcard"
:height="opt.heightcard"
/>-->
<q-img
:width="opt.widthimg"
@click="naviga(pagina_collegata)"
@@ -27,9 +22,9 @@
</div>-->
</q-img>
<q-card-section>
<q-card-section class="q-px-sm">
<div
class="q-mb-sm text-center text-bold"
class="q-mb-md text-center text-bold"
style="font-size: 1.15rem"
>
<a
@@ -38,13 +33,13 @@
>{{ myrec.title }}</a
>
</div>
<div class="">
<div class="q-px-md">
<div class="text-caption text-h7 text-grey q-pb-xs">
<q-icon name="fas fa-list-ol" /> {{ $t('cataloglist.numprodotti') }}:
<span :class="`text-` + (numprodottistr === 0 ? 'red' : 'blue')">{{ numprodottistr }}</span>
</div>
<div
v-if="!tools.isUtente()"
v-if="!tools.isUtente() && dettagli"
class="text-caption text-h7 text-grey q-pb-xs"
>
<q-icon name="fas fa-user" /> {{ $t('cataloglist.referenti') }}:
@@ -59,28 +54,28 @@
</span>
</div>
<div
v-if="collanestr"
v-if="!tools.isUtente() && collanestr && dettagli"
class="text-caption text-h7 text-grey q-pb-xs"
>
<q-icon name="fas fa-book" /> {{ t('cataloglist.collane') }}:
<span class="text-blue">{{ collanestr }}</span>
</div>
<div
v-if="!tools.isUtente() && argomentistr"
v-if="!tools.isUtente() && argomentistr && dettagli"
class="text-caption text-h7 text-grey q-pb-xs"
>
<q-icon name="fas fa-book" /> {{ $t('cataloglist.argomenti') }}:
<span class="text-blue">{{ argomentistr + ` (${numprodtot})` }}</span>
</div>
<div
v-if="!tools.isUtente() && editorestr"
v-if="!tools.isUtente() && editorestr && dettagli"
class="text-caption text-h7 text-grey q-pb-xs"
>
<q-icon name="fas fa-book-open" /> {{ $t('cataloglist.casaeditrice') }}:
<span class="text-blue">{{ editorestr }}</span>
</div>
<div
v-if="!tools.isUtente() && !esiste_descrintro"
v-if="!tools.isUtente() && !esiste_descrintro && dettagli"
class="text-caption text-h7 text-grey q-pb-xs"
>
<q-icon name="fas fa-pencil-alt" /> Testo descrittivo:
@@ -89,7 +84,7 @@
}}</span>
</div>
<div
v-if="!tools.isUtente() && !myrec.img_bordata?.imagefile"
v-if="!tools.isUtente() && !myrec.img_bordata?.imagefile && dettagli"
class="text-caption text-h7 text-grey q-pb-xs"
>
<q-icon name="fas fa-image" /> Sfondo:
@@ -98,7 +93,7 @@
}}</span>
</div>
<div
v-if="!tools.isUtente() && !myrec.img_intro?.imagefile"
v-if="!tools.isUtente() && !myrec.img_intro?.imagefile && dettagli"
class="text-caption text-h7 text-grey q-pb-xs"
>
<q-icon name="fas fa-image" /> Copertina:
@@ -119,7 +114,7 @@
(Data: {{ tools.getstrDate(myrec.data_generato) }})
</div>
<div
v-if="!tools.isUtente()"
v-if="!tools.isUtente() && dettagli"
class="text-caption text-h7 text-grey q-pb-xs"
>
<q-icon name="fas fa-list" /> Lista generata il:
@@ -145,9 +140,9 @@
</q-card-section>
<q-card-actions
v-if="!tools.isUtente() && dettagli"
align="center"
class="q-pa-none"
style="position: absolute; bottom: 0; width: 100%"
>
<div class="row justify-center">
<q-fab