mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user