diff --git a/site/blueprints/pages/investigation-summary.yml b/site/blueprints/pages/investigation-summary.yml index e69de29..744266e 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: + 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 + 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 + methodologys: + 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 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'] ?>
+