schema: validate against new TFE field spec

- add exemplaire_baiu, exemplaire_erg, cc4r, remarks;
- add is_ulb to jury;
- split jury_lecteurs into interne/externe in view;
- refactor admin edit form with backoffice fields;
- update public fiche to show promoteur ULB and split lecteurs
This commit is contained in:
Pontoporeia
2026-05-07 17:30:34 +02:00
parent 7793b6f86d
commit dce0e0b301
18 changed files with 280 additions and 38 deletions

View File

@@ -141,6 +141,23 @@
</div>
<?php endif; ?>
<?php if (!empty($promoteursUlb)): ?>
<div>
<dt>Promoteur·ice ULB :</dt>
<dd><?php
$links = array_map(
fn($n) => '<a href="/search?query=' .
urlencode($n) .
'">' .
htmlspecialchars($n) .
"</a>",
$promoteursUlb,
);
echo implode(", ", $links);
?></dd>
</div>
<?php endif; ?>
<?php if (!empty($juryPresidents)): ?>
<div>
<dt>Président·e du jury :</dt>
@@ -158,9 +175,9 @@
</div>
<?php endif; ?>
<?php if (!empty($juryLecteurs)): ?>
<?php if (!empty($juryLecteursInternes)): ?>
<div>
<dt>Lecteur·ices :</dt>
<dt>Lecteur·ice(s) interne :</dt>
<dd><?php
$links = array_map(
fn($n) => '<a href="/search?query=' .
@@ -168,7 +185,24 @@
'">' .
htmlspecialchars($n) .
"</a>",
$juryLecteurs,
$juryLecteursInternes,
);
echo implode(", ", $links);
?></dd>
</div>
<?php endif; ?>
<?php if (!empty($juryLecteursExternes)): ?>
<div>
<dt>Lecteur·ice(s) externe :</dt>
<dd><?php
$links = array_map(
fn($n) => '<a href="/search?query=' .
urlencode($n) .
'">' .
htmlspecialchars($n) .
"</a>",
$juryLecteursExternes,
);
echo implode(", ", $links);
?></dd>