From 7c66955571c47a883be070d63ca58f6514c05b0a Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Tue, 28 Feb 2023 10:49:59 +0100 Subject: [PATCH] add gallery component --- static/schulchronik/admin/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/static/schulchronik/admin/config.yml b/static/schulchronik/admin/config.yml index 25f74d5..c2de1a1 100644 --- a/static/schulchronik/admin/config.yml +++ b/static/schulchronik/admin/config.yml @@ -152,6 +152,7 @@ collections: - {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false} - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"} - {label: "Type", name: "type", widget: "hidden", default: "superhaufen"} + - {label: "Gallerie-Komponente", name: "gallery", widget: "boolean", default: true, required: false, hint: "Benötigt für Gallerie bzw. Bildeinbettung"} - label: "Kacheln" name: "tiles" widget: "list"