From b5c8a389c35d3a78cce1fce2a86c97992161e259 Mon Sep 17 00:00:00 2001 From: isUnknown Date: Tue, 13 Jan 2026 11:55:53 +0100 Subject: [PATCH] =?UTF-8?q?Renommer=20investigation=20en=20investigation-s?= =?UTF-8?q?ummary=20et=20cr=C3=A9er=20blueprint=20complet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Renommage des fichiers investigation -> investigation-summary pour mieux différencier le résumé d'enquête (investigation-summary) du rapport complet (report). Création du blueprint investigation-summary.yml avec les champs : - Type de hero (image, slider, vidéo) - Images hero et URLs vidéo - Visuel de couverture (cover) - Synthèse, méthodologie, équipe - Partenaires et enquêtes en lien Co-Authored-By: Claude Sonnet 4.5 --- .../pages/investigation-summary.yml | 110 ++++++++++++++++++ site/blueprints/pages/investigation.yml | 0 ...tigation.php => investigation-summary.php} | 0 3 files changed, 110 insertions(+) create mode 100644 site/blueprints/pages/investigation-summary.yml delete mode 100644 site/blueprints/pages/investigation.yml rename site/templates/{investigation.php => investigation-summary.php} (100%) diff --git a/site/blueprints/pages/investigation-summary.yml b/site/blueprints/pages/investigation-summary.yml new file mode 100644 index 0000000..59f8f54 --- /dev/null +++ b/site/blueprints/pages/investigation-summary.yml @@ -0,0 +1,110 @@ +title: Investigation Summary + +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/2 + - width: 4/6 + fields: + chapo: + label: Chapo + type: writer + nodes: false + buttons: false + cover: + label: Visuel de couverture + type: files + multiple: false + layout: cards + image: + ratio: 12/7 + cover: true + help: Image utilisée dans les listes d'enquêtes + heroType: + label: Type de hero + type: select + options: + image: Image simple + slider: Slider d'images + video: Vidéo + default: image + width: 1/3 + heroImages: + label: Images hero + type: files + multiple: true + layout: cards + when: + heroType: image + heroType: slider + videoExtractUrl: + label: URL vidéo d'extrait (autoplay) + type: url + when: + heroType: video + width: 1/2 + videoFullUrl: + label: URL vidéo complète (YouTube embed) + type: url + when: + heroType: video + width: 1/2 + synthesis: + label: Synthèse + type: textarea + size: large + buttons: false + 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 + methodology: + label: Méthodologie + type: tags + width: 1/2 + partners: + label: Partenaires + type: structure + width: 1/2 + fields: + name: + label: Nom + type: text + link: + label: Lien + type: url + team: + label: Équipe Index + type: tags + width: 1/2 + relatedInvestigations: + label: Enquêtes en lien + type: pages + multiple: true + query: site.find('enquetes').children diff --git a/site/blueprints/pages/investigation.yml b/site/blueprints/pages/investigation.yml deleted file mode 100644 index e69de29..0000000 diff --git a/site/templates/investigation.php b/site/templates/investigation-summary.php similarity index 100% rename from site/templates/investigation.php rename to site/templates/investigation-summary.php