Dynamisation complète du template investigation-summary.php : - Hero adaptatif (image simple, slider ou vidéo) selon heroType - Lien automatique vers le rapport (sous-page de type report) - Affichage dynamique des métadonnées (dates, lieu, conséquences, etc.) - Section synthèse avec support KirbyText - Section "en lien" avec enquêtes similaires (champ relatedInvestigations ou fallback sur les dernières enquêtes) - Dates formatées en français via ICU Nettoyage du blueprint report.yml : - Suppression du champ indexTeam (remplacé par le champ team en tags) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
83 lines
1.8 KiB
YAML
83 lines
1.8 KiB
YAML
title: Investigation
|
|
create:
|
|
fields:
|
|
- subtitle
|
|
|
|
tabs:
|
|
contentTab:
|
|
label: Contenu
|
|
icon: page
|
|
columns:
|
|
- width: 2/6
|
|
fields:
|
|
created:
|
|
label: Première 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
|
|
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: Partenaires
|
|
type: structure
|
|
width: 1/2
|
|
fields:
|
|
name:
|
|
label: Nom
|
|
type: text
|
|
link:
|
|
label: Lien
|
|
type: link
|
|
options:
|
|
- url
|