From a44d240b9dfb10e80ca1ce0b3561290c31b677b8 Mon Sep 17 00:00:00 2001 From: antonin gallon Date: Tue, 6 Jan 2026 18:09:00 +0100 Subject: [PATCH 1/2] =?UTF-8?q?blueprint=20investigation-summary=20>=20Ajo?= =?UTF-8?q?ut=20d'un=20champs=20type=20entries=20pour=20les=20m=C3=A9thodo?= =?UTF-8?q?logies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/investigation-summary.yml | 109 ++++++++++++++++++ 1 file changed, 109 insertions(+) diff --git a/site/blueprints/pages/investigation-summary.yml b/site/blueprints/pages/investigation-summary.yml index e69de29..96d3767 100644 --- a/site/blueprints/pages/investigation-summary.yml +++ b/site/blueprints/pages/investigation-summary.yml @@ -0,0 +1,109 @@ +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 + methodology: + label: Méthodologie + type: entries + field: + type: text + line: + type: line + indexTeam: + label: Équipe Index + 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 From bd177c835a956b61d5213943c1552cd28f6e2836 Mon Sep 17 00:00:00 2001 From: antonin gallon Date: Wed, 7 Jan 2026 13:47:12 +0100 Subject: [PATCH 2/2] =?UTF-8?q?d=C3=A9but=20d'int=C3=A9gration=20page=20en?= =?UTF-8?q?quete=20:=20arret=20=C3=A0=20partners?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/investigation-summary.yml | 12 ++-- site/templates/investigation-summary.php | 61 +++++++++++-------- 2 files changed, 43 insertions(+), 30 deletions(-) diff --git a/site/blueprints/pages/investigation-summary.yml b/site/blueprints/pages/investigation-summary.yml index 96d3767..744266e 100644 --- a/site/blueprints/pages/investigation-summary.yml +++ b/site/blueprints/pages/investigation-summary.yml @@ -10,8 +10,8 @@ tabs: columns: - width: 2/6 fields: - created: - label: Première publication + publicationDate: + label: Date de publication type: date display: DD / MM / YYYY default: today @@ -69,7 +69,7 @@ tabs: type: tags width: 1/2 partners: - label: Partenaires + label: Partenaire(s) type: structure width: 1/2 fields: @@ -81,15 +81,15 @@ tabs: type: link options: - url - methodology: + methodologys: label: Méthodologie type: entries field: type: text line: type: line - indexTeam: - label: Équipe Index + team: + label: Équipe type: structure columns: responsability: diff --git a/site/templates/investigation-summary.php b/site/templates/investigation-summary.php index 8260f25..e496bcb 100644 --- a/site/templates/investigation-summary.php +++ b/site/templates/investigation-summary.php @@ -3,13 +3,13 @@

Enquête

-

L’exécution de Nidal et Khaled ‘Amirah à Naplouse

+

title() ?>

- +
Ici la légende de l’image. À partir d’images exclusives, l’analyse conjointe de B’Tselem et Index démontre que les deux hommes ont été abattus par des soldats israéliens alors qu’ils ne présentaient aucun danger.
@@ -41,50 +41,63 @@
-
Date de l’incident
-
+
blueprint()->field('incidentDate')['label']?>
+
-
Lieu de l’incident
-
Naplouse, Cisjordanie occupée, Palestine
+
blueprint()->field('incidentLocation')['label'] ?>
+
Incidentlocation() ?>
-
Conséquences
-
Mort
+
blueprint()->field('incidentConsequences')['label'] ?>
+
Incidentconsequences() ?>
-
Mots-clés
+
blueprint()->field('keywords')['label'] ?>
-
Méthodologie
+
blueprint()->field('methodologys')['label'] ?>
    -
  • Reconstitution 3D
  • -
  • Frame-match
  • -
  • Analyse audiovisuelle
  • + Methodologys()->toEntries() as $methodology): ?> +
  • +
-
Équipe
-
Nadav Joffe, Basile Trouillet, Francesco Sebregondi, Basile Trouillet, Francesco Sebregondi
+
blueprint()->field('team')['label'] ?>
+
+ Team()->toStructure() as $row) { + foreach ($row->names() as $names) { + foreach ($names as $name) { + $namesList[] = $name; + } + } + } + echo implode(', ', $namesList); + ?> +
-
Partenaire(s)
-
B’Tselem
+
blueprint()->field('partners')['label'] ?>
+
+ B’Tselem +
-
Date de publication
-
+
blueprint()->field('publicationDate')['label'] ?>
+