title: Événement tabs: contentTab: label: Contenu icon: false columns: - width: 1/1 fields: totalStock: label: Nombre total de places type: number disabled: true when: isMapadoEvent: true width: 1/4 categories: label: Catégorie type: multiselect width: 1/4 options: type: query query: page.parent.parent.categories.split color: extends: fields/color width: 2/4 - width: 1/2 fields: mapadoKeyInfos: label: Connecté à Mapado type: info width: 1/2 text: | Les données verrouillées proviennent de [l'événement Mapado](https://desk.mapado.com/mass-action/ticketing/{{page.mapadoId}}). **Infos erronées ?** Enregistrez (touches ⌘ / ctrl + s) et rechargez la page. when: isMapadoEvent: true mapadoSlug: type: hidden bookingUrl: label: Lien de réservation type: url width: 1/2 when: isMapadoEvent: false help: Laisser vide pour afficher la mention "Entrée libre" duration: label: Durée type: text icon: clock width: 1/2 placeholder: 1h20 - width: 1/2 fields: public: type: text icon: users width: 1/2 placeholder: dès 8 ans place: label: Lieu type: text icon: pin width: 1/2 placeholder: NTB - width: 1/1 fields: sessions: label: Séances type: structure columns: date: width: 1/3 time: width: 1/3 timeComplement: width: 1/3 when: isMapadoEvent: false fields: date: type: date icon: calendar display: DD/MM/YYYY width: 1/3 time: label: Horaire de début type: text help: | Format : 20h00 ou 20h (pas 20:00) width: 1/3 timeComplement: label: Complément help: Affiché après l'horaire type: text width: 1/3 remoteSessions: label: Séances type: structure disabled: true columns: date: width: 1/4 time: width: 1/4 ticketingUrl: width: 1/4 bookableStock: width: 1/4 when: isMapadoEvent: true fields: date: type: date icon: calendar display: DD/MM/YYYY width: 1/4 time: label: Horaire de début type: text width: 1/4 ticketingUrl: label: Lien billetterie type: url width: 1/4 bookableStock: label: Places disponibles type: text width: 1/4 - width: 1/1 fields: line: type: line presentationHeadline: type: headline label: Présentation - width: 1/2 fields: gallery: label: Galerie type: files layout: cards image: cover: true ratio: 4/3 - width: 1/2 fields: authors: label: Auteur(s) type: writer nodes: false marks: false chapo: type: writer description: type: writer - width: 1/1 fields: production: label: Distribution et production type: layout layouts: - "1/3, 1/3, 1/3" 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 max: 4 help: 4 maximum settingsTab: label: Réglages icon: cog fields: mapadoLine: type: line 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 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 when: isMapadoEvent: true mapadoButton: type: mapado-check width: 3/4 when: isMapadoEvent: true files: tabs/files