nouveau-theatre-de-besancon/site/blueprints/pages/event.yml
2024-07-24 15:56:28 +02:00

137 lines
3.3 KiB
YAML

title: Événement
tabs:
contentTab:
label: Contenu
icon: false
columns:
- width: 1/1
fields:
keyInfosHeadline:
type: headline
label: Infos clés
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
icon: calendar
display: DD/MM/YYYY
width: 1/5
when:
isMapadoEvent: false
duration:
label: Durée
type: text
icon: clock
width: 1/5
placeholder: 1h20
when:
isMapadoEvent: false
public:
type: text
icon: users
width: 1/5
placeholder: dès 8 ans
place:
label: Lieu
type: text
icon: pin
width: 1/5
placeholder: NTB
line:
type: line
- 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:
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
mapadoId:
label: Identifiant Mapado
type: number
width: 1/4
when:
isMapadoEvent: true
mapadoButton:
type: mapado-check
width: 3/4
when:
isMapadoEvent: true