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: columns:
- width: 2/6 - width: 2/6
fields: fields:
created: publicationDate:
label: Première publication label: Date de publication
type: date type: date
display: DD / MM / YYYY display: DD / MM / YYYY
default: today default: today
@ -69,7 +69,7 @@ tabs:
type: tags type: tags
width: 1/2 width: 1/2
partners: partners:
label: Partenaires label: Partenaire(s)
type: structure type: structure
width: 1/2 width: 1/2
fields: fields:
@ -81,15 +81,15 @@ tabs:
type: link type: link
options: options:
- url - url
methodology: methodologys:
label: Méthodologie label: Méthodologie
type: entries type: entries
field: field:
type: text type: text
line: line:
type: line type: line
indexTeam: team:
label: Équipe Index label: Équipe
type: structure type: structure
columns: columns:
responsability: responsability:

View file

@ -3,13 +3,13 @@
<header> <header>
<p class="page-type">Enquête</p> <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> <p class="date-publish"></p>
</header> </header>
<div id="hero" class="hero-video"> <div id="hero" class="hero-video">
<figure> <figure>
<img src="/assets/images/Nidal-Khaled-Amirah.png"> <img src="<?= $page->image()->url() ?>">
</figure> </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> <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> </div>
@ -41,50 +41,63 @@
<dl class="section__article" id="section__dl"> <dl class="section__article" id="section__dl">
<div class="dl__group"> <div class="dl__group">
<dt>Date de lincident</dt> <dt><?= $page->blueprint()->field('incidentDate')['label']?></dt>
<dd><time datetime="2025-06-10">10 juin 2025</time></dd> <dd><time datetime="<?= $page->incidentDate() ?>"><?= $page->incidentDate()->toDate('d M Y') ?></time></dd>
</div> </div>
<div class="dl__group"> <div class="dl__group">
<dt>Lieu de lincident</dt> <dt><?= $page->blueprint()->field('incidentLocation')['label'] ?></dt>
<dd>Naplouse, Cisjordanie occupée, Palestine</dd> <dd><?= $page->Incidentlocation() ?></dd>
</div> </div>
<div class="dl__group"> <div class="dl__group">
<dt>Conséquences</dt> <dt><?= $page->blueprint()->field('incidentConsequences')['label'] ?></dt>
<dd>Mort</dd> <dd><?= $page->Incidentconsequences() ?></dd>
</div> </div>
<div class="dl__group dl__group__keywords"> <div class="dl__group dl__group__keywords">
<dt>Mots-clés</dt> <dt><?= $page->blueprint()->field('keywords')['label'] ?></dt>
<dd> <dd>
<ul class="keywords"> <ul class="keywords">
<li><a href="#" target="_blank">Occupation</a></li> <?php foreach ($page->Keywords()->split() as $keyword): ?>
<li><a href="#" target="_blank">Colonialité</a></li> <li><a href="#" target="_blank"><?php echo $keyword ?></a></li>
<li><a href="#" target="_blank">Forces armées</a></li> <?php endforeach; ?>
<li><a href="#" target="_blank">Colonialité</a></li>
</ul> </ul>
</dd> </dd>
</div> </div>
<div class="dl__group"> <div class="dl__group">
<dt>Méthodologie</dt> <dt><?= $page->blueprint()->field('methodologys')['label'] ?></dt>
<dd> <dd>
<ul> <ul>
<li>Reconstitution 3D</li> <?php foreach ($page->Methodologys()->toEntries() as $methodology): ?>
<li>Frame-match</li> <li><?php echo $methodology ?></li>
<li>Analyse audiovisuelle</li> <?php endforeach; ?>
</ul> </ul>
</dd> </dd>
</div> </div>
<div class="dl__group"> <div class="dl__group">
<dt>Équipe</dt> <dt><?= $page->blueprint()->field('team')['label'] ?></dt>
<dd>Nadav Joffe, Basile Trouillet, Francesco Sebregondi, Basile Trouillet, Francesco Sebregondi</dd> <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>
<div class="dl__group"> <div class="dl__group">
<dt>Partenaire(s)</dt> <dt><?= $page->blueprint()->field('partners')['label'] ?></dt>
<dd><a href="#" target="_blank">BTselem</a></dd> <dd>
<a href="#" target="_blank">BTselem</a>
</dd>
</div> </div>
<div class="dl__group"> <div class="dl__group">
<dt>Date de publication</dt> <dt><?= $page->blueprint()->field('publicationDate')['label'] ?></dt>
<dd><time datetime="2025-12-09">09 dec 2025</time></dd> <dd><time datetime="<?= $page->Publicationdate() ?>"><?= $page->Publicationdate()->toDate('d M Y') ?></time></dd>
</div> </div>
</dl> </dl>