début d'intégration page enquete : arret à partners

This commit is contained in:
antonin gallon 2026-01-07 13:47:12 +01:00
parent a44d240b9d
commit bd177c835a
2 changed files with 43 additions and 30 deletions

View file

@ -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:

View file

@ -3,13 +3,13 @@
<header>
<p class="page-type">Enquête</p>
<h2>Lexécution de Nidal et Khaled Amirah à Naplouse</h2>
<h2><?= $page->title() ?></h2>
<p class="date-publish"></p>
</header>
<div id="hero" class="hero-video">
<figure>
<img src="/assets/images/Nidal-Khaled-Amirah.png">
<img src="<?= $page->image()->url() ?>">
</figure>
<figcaption>Ici la légende de limage. À partir dimages exclusives, lanalyse conjointe de BTselem et Index démontre que les deux hommes ont été abattus par des soldats israéliens alors quils ne présentaient aucun danger.</figcaption>
</div>
@ -41,50 +41,63 @@
<dl class="section__article" id="section__dl">
<div class="dl__group">
<dt>Date de lincident</dt>
<dd><time datetime="2025-06-10">10 juin 2025</time></dd>
<dt><?= $page->blueprint()->field('incidentDate')['label']?></dt>
<dd><time datetime="<?= $page->incidentDate() ?>"><?= $page->incidentDate()->toDate('d M Y') ?></time></dd>
</div>
<div class="dl__group">
<dt>Lieu de lincident</dt>
<dd>Naplouse, Cisjordanie occupée, Palestine</dd>
<dt><?= $page->blueprint()->field('incidentLocation')['label'] ?></dt>
<dd><?= $page->Incidentlocation() ?></dd>
</div>
<div class="dl__group">
<dt>Conséquences</dt>
<dd>Mort</dd>
<dt><?= $page->blueprint()->field('incidentConsequences')['label'] ?></dt>
<dd><?= $page->Incidentconsequences() ?></dd>
</div>
<div class="dl__group dl__group__keywords">
<dt>Mots-clés</dt>
<dt><?= $page->blueprint()->field('keywords')['label'] ?></dt>
<dd>
<ul class="keywords">
<li><a href="#" target="_blank">Occupation</a></li>
<li><a href="#" target="_blank">Colonialité</a></li>
<li><a href="#" target="_blank">Forces armées</a></li>
<li><a href="#" target="_blank">Colonialité</a></li>
<?php foreach ($page->Keywords()->split() as $keyword): ?>
<li><a href="#" target="_blank"><?php echo $keyword ?></a></li>
<?php endforeach; ?>
</ul>
</dd>
</div>
<div class="dl__group">
<dt>Méthodologie</dt>
<dt><?= $page->blueprint()->field('methodologys')['label'] ?></dt>
<dd>
<ul>
<li>Reconstitution 3D</li>
<li>Frame-match</li>
<li>Analyse audiovisuelle</li>
<?php foreach ($page->Methodologys()->toEntries() as $methodology): ?>
<li><?php echo $methodology ?></li>
<?php endforeach; ?>
</ul>
</dd>
</div>
<div class="dl__group">
<dt>Équipe</dt>
<dd>Nadav Joffe, Basile Trouillet, Francesco Sebregondi, Basile Trouillet, Francesco Sebregondi</dd>
<dt><?= $page->blueprint()->field('team')['label'] ?></dt>
<dd>
<?php
$namesList = [];
foreach ($page->Team()->toStructure() as $row) {
foreach ($row->names() as $names) {
foreach ($names as $name) {
$namesList[] = $name;
}
}
}
echo implode(', ', $namesList);
?>
</dd>
</div>
<div class="dl__group">
<dt>Partenaire(s)</dt>
<dd><a href="#" target="_blank">BTselem</a></dd>
<dt><?= $page->blueprint()->field('partners')['label'] ?></dt>
<dd>
<a href="#" target="_blank">BTselem</a>
</dd>
</div>
<div class="dl__group">
<dt>Date de publication</dt>
<dd><time datetime="2025-12-09">09 dec 2025</time></dd>
<dt><?= $page->blueprint()->field('publicationDate')['label'] ?></dt>
<dd><time datetime="<?= $page->Publicationdate() ?>"><?= $page->Publicationdate()->toDate('d M Y') ?></time></dd>
</div>
</dl>