nouveau-theatre-de-besancon/site/blueprints/pages/event.yml

138 lines
3.3 KiB
YAML
Raw Normal View History

2024-07-24 09:43:31 +02:00
title: Événement
tabs:
contentTab:
label: Contenu
icon: false
columns:
- width: 1/1
fields:
keyInfosHeadline:
type: headline
label: Infos clés
2024-07-24 15:56:28 +02:00
startDate:
label: Date de début
type: date
icon: calendar
display: DD/MM/YYYY
width: 1/5
when:
isMapadoEvent: false
mapadoKeyInfos:
label: Événement connecté à Mapado
type: info
text: Les données de dates et de durée sont récupérées de [Mapado](https://desk.mapado.com/).
width: 2/4
when:
isMapadoEvent: true
endDate:
label: Date de fin
type: date
2024-07-24 09:43:31 +02:00
icon: calendar
2024-07-24 15:56:28 +02:00
display: DD/MM/YYYY
width: 1/5
when:
isMapadoEvent: false
2024-07-24 09:43:31 +02:00
duration:
label: Durée
type: text
icon: clock
2024-07-24 15:56:28 +02:00
width: 1/5
2024-07-24 09:43:31 +02:00
placeholder: 1h20
2024-07-24 15:56:28 +02:00
when:
isMapadoEvent: false
2024-07-24 09:43:31 +02:00
public:
type: text
icon: users
2024-07-24 15:56:28 +02:00
width: 1/5
2024-07-24 09:43:31 +02:00
placeholder: dès 8 ans
place:
label: Lieu
type: text
icon: pin
2024-07-24 15:56:28 +02:00
width: 1/5
2024-07-24 09:43:31 +02:00
placeholder: NTB
2024-07-24 15:56:28 +02:00
line:
type: line
2024-07-24 09:43:31 +02:00
- width: 1/1
fields:
presentationHeadline:
type: headline
label: Présentation
- width: 1/2
fields:
gallery:
label: Galerie
type: files
layout: cards
- width: 1/2
fields:
authors:
label: Auteur(s)
type: writer
nodes: false
marks: false
chapo:
type: writer
description:
type: writer
- width: 1/1
fields:
distributionAndProduction:
label: Distribution et production
type: layout
layouts:
- "1/4, 1/4, 1/4, 1/4"
fieldsets:
- text
resources:
label: Ressources
type: structure
fields:
name:
label: Nom
type: text
width: 1/2
file:
label: Fichier
type: files
multiple: false
width: 1/2
linkedPages:
label: Pages liées
type: pages
settingsTab:
label: Réglages
icon: cog
fields:
2024-07-24 15:56:28 +02:00
isMapadoEvent:
label: Connecter à Mapado
type: toggle
default: false
width: 1/4
mapadoInfo:
label: Pourquoi faire ?
type: info
text: |
Permet de récupérer depuis [Mapado](https://desk.mapado.com/) les infos suivantes :
- date de début
- date de fin
- durée
- séances et leurs informations (date, places restantes)
width: 2/4
whiteSpace:
type: gap
width: 1/4
2024-07-24 09:43:31 +02:00
mapadoId:
label: Identifiant Mapado
type: number
width: 1/4
2024-07-24 15:56:28 +02:00
when:
isMapadoEvent: true
2024-07-24 09:43:31 +02:00
mapadoButton:
type: mapado-check
2024-07-24 15:56:28 +02:00
width: 3/4
when:
isMapadoEvent: true