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

205 lines
5.2 KiB
YAML
Raw Normal View History

2024-07-24 09:43:31 +02:00
title: Événement
tabs:
contentTab:
label: Contenu
icon: false
columns:
2024-07-29 12:29:00 +02:00
- width: 1/2
2024-07-24 09:43:31 +02:00
fields:
2024-07-24 15:56:28 +02:00
mapadoKeyInfos:
2024-07-30 19:03:01 +02:00
label: Connecté à Mapado
2024-07-24 15:56:28 +02:00
type: info
2024-07-30 19:03:01 +02:00
width: 1/2
2024-07-29 12:29:00 +02:00
text: |
2024-07-30 19:03:01 +02:00
[Gérer l'événement Mapado](https://desk.mapado.com/mass-action/ticketing/{{page.mapadoId}}).
**Infos erronées ?**
Enregistrez (touches ⌘ / ctrl + s) et rechargez la page.
2024-07-24 15:56:28 +02:00
when:
isMapadoEvent: true
2024-07-31 07:59:51 +02:00
mapadoSlug:
type: hidden
2024-07-24 09:43:31 +02:00
duration:
label: Durée
type: text
icon: clock
2024-07-29 12:29:00 +02:00
width: 1/2
2024-07-24 09:43:31 +02:00
placeholder: 1h20
2024-07-24 15:56:28 +02:00
when:
isMapadoEvent: false
2024-07-30 19:03:01 +02:00
remoteDuration:
label: Durée
type: text
icon: clock
width: 1/2
placeholder: 1h20
disabled: true
2024-07-31 11:20:08 +02:00
help: Nécessite **qu'une séance au moins ait une heure de fin** sur Mapado.
2024-07-30 19:03:01 +02:00
when:
isMapadoEvent: true
2024-07-29 12:29:00 +02:00
- width: 1/2
fields:
2024-07-24 09:43:31 +02:00
public:
type: text
icon: users
2024-07-29 12:29:00 +02:00
width: 1/2
2024-07-24 09:43:31 +02:00
placeholder: dès 8 ans
place:
label: Lieu
type: text
icon: pin
2024-07-29 12:29:00 +02:00
width: 1/2
2024-07-24 09:43:31 +02:00
placeholder: NTB
- width: 1/1
fields:
2024-07-29 12:29:00 +02:00
sessions:
label: Séances
type: structure
columns:
date:
width: 1/2
time:
width: 1/2
when:
isMapadoEvent: false
fields:
date:
type: date
icon: calendar
display: DD/MM/YYYY
width: 1/2
time:
label: Horaire de début
type: text
width: 1/2
2024-07-30 19:03:01 +02:00
remoteSessions:
label: Séances
type: structure
disabled: true
columns:
date:
2024-08-28 08:46:00 +02:00
width: 1/4
2024-07-30 19:03:01 +02:00
time:
2024-08-28 08:46:00 +02:00
width: 1/4
2024-07-30 19:03:01 +02:00
ticketingUrl:
2024-08-28 08:46:00 +02:00
width: 1/4
bookableStock:
width: 1/4
2024-07-30 19:03:01 +02:00
when:
isMapadoEvent: true
fields:
date:
type: date
icon: calendar
display: DD/MM/YYYY
2024-08-28 08:46:00 +02:00
width: 1/4
2024-07-30 19:03:01 +02:00
time:
label: Horaire de début
type: text
2024-08-28 08:46:00 +02:00
width: 1/4
2024-07-30 19:03:01 +02:00
ticketingUrl:
label: Lien billetterie
type: url
2024-08-28 08:46:00 +02:00
width: 1/4
bookableStock:
label: Places disponibles
type: text
width: 1/4
2024-07-29 12:29:00 +02:00
- width: 1/1
fields:
line:
type: line
2024-07-24 09:43:31 +02:00
presentationHeadline:
type: headline
label: Présentation
- width: 1/2
fields:
gallery:
label: Galerie
type: files
layout: cards
2024-07-29 08:57:35 +02:00
image:
cover: true
ratio: 4/3
2024-07-24 09:43:31 +02:00
- width: 1/2
fields:
authors:
label: Auteur(s)
type: writer
nodes: false
marks: false
chapo:
type: writer
description:
type: writer
- width: 1/1
fields:
2024-08-27 17:10:48 +02:00
production:
2024-07-24 09:43:31 +02:00
label: Distribution et production
type: layout
layouts:
2024-08-27 17:10:48 +02:00
- "1/3, 1/3, 1/3"
2024-07-24 09:43:31 +02:00
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
2024-08-28 11:28:22 +02:00
max: 4
help: 4 maximum
2024-07-24 09:43:31 +02:00
settingsTab:
label: Réglages
icon: cog
fields:
2024-08-18 16:56:58 +02:00
color: fields/color
mapadoLine:
type: line
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-29 12:42:53 +02:00
help: |
Suite de 6 chiffres à récupérer dans l'URL de l'événement Mapado :
- https:// desk.mapado.com/activity/ **342099** -les-gros-patinent-...
- https:// cdn-besancon.mapado.com/event/ **342099** -les-gros-patinent-bien
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
2024-07-31 09:34:20 +02:00
files: tabs/files