From f2adead6f6764fe07d9a235c24421a2fa0508587 Mon Sep 17 00:00:00 2001 From: pollutri Date: Wed, 20 May 2026 11:05:46 +0200 Subject: [PATCH] Modifiche richieste sull amministrazione --- app/admin/page.tsx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/app/admin/page.tsx b/app/admin/page.tsx index 8c1798f..b16710b 100644 --- a/app/admin/page.tsx +++ b/app/admin/page.tsx @@ -484,7 +484,12 @@ export default function AdminDashboard() { })()}
{card.title} - {card.cardType} + + {card.cardType} + {card.extraMedia && card.extraMedia.length > 0 && ( + ยท {card.extraMedia.length} {card.extraMedia.length === 1 ? 'immagine' : 'immagini'} + )} +
@@ -667,7 +672,7 @@ export default function AdminDashboard() { options={[ { value: 'INFO_PAGE', label: 'Info Page' }, { value: 'IMAGE_GALLERY', label: 'Image Gallery' }, - { value: 'BOOK', label: 'Book (Flip-Book)' }, + { value: 'BOOK', label: 'Flip-Book' }, ...(externalLinksOn ? [{ value: 'EXTERNAL_LINK' as CardType, label: 'External Link' }] : []), ]} /> @@ -738,7 +743,7 @@ export default function AdminDashboard() { className="w-5 h-5 text-blue-600 rounded mt-0.5" />
- Don’t show the cover as a slide in the gallery. + Cover not in the gallery The cover stays as the card thumbnail only. Combine with “Auto fullscreen” to jump straight into the gallery items.