index-main/site/blueprints/pages/investigation-summary.yml
antonin gallon 4a18a61148 investigation-summary : ajout gestion légendes d'images
- Création du blueprint files/cover.yml avec champs alt et caption
- Configuration uploads.template: cover pour association automatique
- Amélioration affichage légende avec condition isNotEmpty()
- Les métadonnées des images sont désormais éditables via le panel

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-07 17:35:37 +01:00

111 lines
2.4 KiB
YAML

title: Investigation
create:
fields:
- subtitle
tabs:
contentTab:
label: Contenu
icon: page
columns:
- width: 2/6
fields:
publicationDate:
label: Date de publication
type: date
display: DD / MM / YYYY
default: today
width: 1/4
- width: 4/6
fields:
subtitle:
label: Sous-titre
type: text
chapo:
label: Chapo
type: writer
nodes: false
buttons: false
cover:
label: Visuel de couverture
type: files
multiple: false
min: 1
layout: cards
size: full
uploads:
template: cover
image:
ratio: 12/7
cover: true
body:
label: Corps
type: layout
layouts:
- "1/1"
- "1/2, 1/2"
- "1/3, 1/3, 1/3"
fieldsets:
- heading
- text
- image
metadataTab:
label: Métadonnées
icon: table
fields:
incidentDate:
label: Date de l'incident
type: date
display: DD / MM / YYYY
width: 1/3
incidentLocation:
label: Lieu de l'incident
type: text
width: 1/3
incidentConsequences:
label: Conséquence(s)
type: text
width: 1/3
keywords:
label: Mots-clés
type: tags
width: 1/2
partners:
label: Partenaire(s)
type: structure
width: 1/2
fields:
name:
label: Nom
type: text
link:
label: Lien
type: link
options:
- url
methodologies:
label: Méthodologie
type: entries
field:
type: text
line:
type: line
team:
label: Équipe
type: structure
columns:
responsability:
width: 1/2
names:
width: 1/2
fields:
responsability:
label: Responsabilité
type: text
width: 1/2
names:
label: Nom
type: entries
width: 1/2
field:
type: text