- lista cataloghi: stato "active" (Pubblicati OnLine)

This commit is contained in:
Surya Paolo
2025-05-07 00:13:51 +02:00
parent 57cfa5858b
commit 2cc8fcda03
21 changed files with 400 additions and 347 deletions

View File

@@ -13,7 +13,7 @@
/>-->
<q-img
:width="opt.widthimg"
@click="apriInfo = true"
@click="naviga(pagina_collegata)"
:height="opt.heightimg"
class="clickable-image"
fit="cover"
@@ -32,14 +32,21 @@
class="q-mb-sm text-center text-bold"
style="font-size: 1.15rem"
>
{{ myrec.title }}
<a
:href="pagina_collegata"
target="_blank"
>{{ myrec.title }}</a
>
</div>
<div class="">
<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 class="text-caption text-h7 text-grey q-pb-xs">
<div
v-if="!tools.isUtente()"
class="text-caption text-h7 text-grey q-pb-xs"
>
<q-icon name="fas fa-user" /> {{ $t('cataloglist.referenti') }}:
<span
v-if="myrec.referenti && myrec.referenti.length > 0"
@@ -59,21 +66,21 @@
<span class="text-blue">{{ collanestr }}</span>
</div>
<div
v-if="argomentistr"
v-if="!tools.isUtente() && argomentistr"
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="editorestr"
v-if="!tools.isUtente() && editorestr"
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="!esiste_descrintro"
v-if="!tools.isUtente() && !esiste_descrintro"
class="text-caption text-h7 text-grey q-pb-xs"
>
<q-icon name="fas fa-pencil-alt" /> Testo descrittivo:
@@ -82,7 +89,7 @@
}}</span>
</div>
<div
v-if="!myrec.img_bordata?.imagefile"
v-if="!tools.isUtente() && !myrec.img_bordata?.imagefile"
class="text-caption text-h7 text-grey q-pb-xs"
>
<q-icon name="fas fa-image" /> Sfondo:
@@ -91,7 +98,7 @@
}}</span>
</div>
<div
v-if="!myrec.img_intro?.imagefile"
v-if="!tools.isUtente() && !myrec.img_intro?.imagefile"
class="text-caption text-h7 text-grey q-pb-xs"
>
<q-icon name="fas fa-image" /> Copertina:
@@ -111,7 +118,10 @@
>
(Data: {{ tools.getstrDate(myrec.data_generato) }})
</div>
<div class="text-caption text-h7 text-grey q-pb-xs">
<div
v-if="!tools.isUtente()"
class="text-caption text-h7 text-grey q-pb-xs"
>
<q-icon name="fas fa-list" /> Lista generata il:
<span :class="`text-` + (tools.isDateValid(myrec.data_lista_generata) ? 'blue' : 'red')"
>{{ tools.getstrDate(myrec.data_lista_generata) || '(non ancora generata)' }} da