mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-08-10 07:11:18 +02:00
relabel: Promoteur·ice ULB → Promoteur·ice université in all UI labels
Pure label change across 6 template/controller files — no DB schema change. Migration 043 added to track the change.
This commit is contained in:
@@ -28,3 +28,4 @@
|
|||||||
- [x] Fix: deleting contact groups in apropos form not persisted (no change event after DOM removal, autosave never triggered)
|
- [x] Fix: deleting contact groups in apropos form not persisted (no change event after DOM removal, autosave never triggered)
|
||||||
- [x] Improve h1, h2, h3 size difference in base.css heading scale
|
- [x] Improve h1, h2, h3 size difference in base.css heading scale
|
||||||
- [x] Rework TFE page desktop layout: two columns 35vw/1fr, left = author/title/meta/synopsis, right = files, media 100% width; columns scroll independently, content fits 100vw; no bottom padding on main; add &scrollbar=0 to PDF iframe URLs
|
- [x] Rework TFE page desktop layout: two columns 35vw/1fr, left = author/title/meta/synopsis, right = files, media 100% width; columns scroll independently, content fits 100vw; no bottom padding on main; add &scrollbar=0 to PDF iframe URLs
|
||||||
|
- [x] 'Promoteur·ice ULB' remplacé par 'Promoteur·ice université' (changement juste l'étiquette)
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Migration 043: Rename "Promoteur·ice ULB" → "Promoteur·ice université" in all UI labels.
|
||||||
|
*
|
||||||
|
* This is a pure template/code label change — no database schema change required.
|
||||||
|
* The migration exists to track that this relabeling has been applied.
|
||||||
|
*/
|
||||||
|
echo "Migration 043: Label-only change — 'Promoteur·ice ULB' → 'Promoteur·ice université' in templates.\n";
|
||||||
|
echo " No database changes required.\n";
|
||||||
@@ -159,7 +159,7 @@ $pageTitle = 'Merci — TFE enregistré';
|
|||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if (!empty($thesis['jury_promoteurs_ulb'])): ?>
|
<?php if (!empty($thesis['jury_promoteurs_ulb'])): ?>
|
||||||
<dt>Promoteur·ice(s) ULB</dt>
|
<dt>Promoteur·ice(s) université</dt>
|
||||||
<dd><?= htmlspecialchars($thesis['jury_promoteurs_ulb']) ?></dd>
|
<dd><?= htmlspecialchars($thesis['jury_promoteurs_ulb']) ?></dd>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
|||||||
@@ -259,7 +259,7 @@ class ExportController
|
|||||||
'Promoteur·ice(s) interne',
|
'Promoteur·ice(s) interne',
|
||||||
'Lecteur·ice(s) interne',
|
'Lecteur·ice(s) interne',
|
||||||
'Lecteur·ice(s) externe',
|
'Lecteur·ice(s) externe',
|
||||||
'Promoteur·ice(s) ULB',
|
'Promoteur·ice(s) université',
|
||||||
'Format(s)',
|
'Format(s)',
|
||||||
'Année',
|
'Année',
|
||||||
'AP',
|
'AP',
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ class StudentEmail
|
|||||||
'Format(s)' => $thesis['formats'] ?? '',
|
'Format(s)' => $thesis['formats'] ?? '',
|
||||||
'Mots-clés' => $thesis['keywords'] ?? '',
|
'Mots-clés' => $thesis['keywords'] ?? '',
|
||||||
'Promoteur·ice(s) interne' => $thesis['jury_promoteurs'] ?? '',
|
'Promoteur·ice(s) interne' => $thesis['jury_promoteurs'] ?? '',
|
||||||
'Promoteur·ice(s) ULB' => $thesis['jury_promoteurs_ulb'] ?? '',
|
'Promoteur·ice(s) université' => $thesis['jury_promoteurs_ulb'] ?? '',
|
||||||
'Président·e du jury' => $thesis['jury_president'] ?? '',
|
'Président·e du jury' => $thesis['jury_president'] ?? '',
|
||||||
'Lecteurs·rices (interne)' => $thesis['jury_lecteurs_internes'] ?? '',
|
'Lecteurs·rices (interne)' => $thesis['jury_lecteurs_internes'] ?? '',
|
||||||
'Lecteurs·rices (externe)' => $thesis['jury_lecteurs_externes'] ?? '',
|
'Lecteurs·rices (externe)' => $thesis['jury_lecteurs_externes'] ?? '',
|
||||||
|
|||||||
@@ -89,7 +89,7 @@
|
|||||||
<dt>Promoteur·ice(s)</dt><dd><?= htmlspecialchars($thesis['jury_promoteurs']) ?></dd>
|
<dt>Promoteur·ice(s)</dt><dd><?= htmlspecialchars($thesis['jury_promoteurs']) ?></dd>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if ($thesis['jury_promoteurs_ulb']): ?>
|
<?php if ($thesis['jury_promoteurs_ulb']): ?>
|
||||||
<dt>Promoteur·ice(s) ULB</dt><dd><?= htmlspecialchars($thesis['jury_promoteurs_ulb']) ?></dd>
|
<dt>Promoteur·ice(s) université</dt><dd><?= htmlspecialchars($thesis['jury_promoteurs_ulb']) ?></dd>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if ($thesis['jury_lecteurs_internes']): ?>
|
<?php if ($thesis['jury_lecteurs_internes']): ?>
|
||||||
<dt>Lecteur·ice(s) interne</dt><dd><?= htmlspecialchars($thesis['jury_lecteurs_internes']) ?></dd>
|
<dt>Lecteur·ice(s) interne</dt><dd><?= htmlspecialchars($thesis['jury_lecteurs_internes']) ?></dd>
|
||||||
|
|||||||
@@ -105,14 +105,14 @@ if ($addMode) {
|
|||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<?php if ($showPromoteurUlb): ?>
|
<?php if ($showPromoteurUlb): ?>
|
||||||
<!-- Promoteur·ice(s) ULB -->
|
<!-- Promoteur·ice(s) université -->
|
||||||
<fieldset class="admin-jury-lecteurs" id="jury-promoteur-ulb-row"<?= $promoteurUlbConditional ? ' style="display:none"' : '' ?> data-jury-autocomplete data-jury-hx-post="<?= $adminMode ? '/admin/fragments/pill-search.php' : '/partage/fragments/pill-search.php' ?>" data-jury-role="promoteur_externe">
|
<fieldset class="admin-jury-lecteurs" id="jury-promoteur-ulb-row"<?= $promoteurUlbConditional ? ' style="display:none"' : '' ?> data-jury-autocomplete data-jury-hx-post="<?= $adminMode ? '/admin/fragments/pill-search.php' : '/partage/fragments/pill-search.php' ?>" data-jury-role="promoteur_externe">
|
||||||
<legend>Promoteur·ice(s) ULB<span id="jury-ulb-asterisk" style="display:none"> <span class="asterisk">*</span></span></legend>
|
<legend>Promoteur·ice(s) université<span id="jury-ulb-asterisk" style="display:none"> <span class="asterisk">*</span></span></legend>
|
||||||
<div id="jury-promoteur-ulb-list" class="admin-jury-list">
|
<div id="jury-promoteur-ulb-list" class="admin-jury-list">
|
||||||
<?php if (empty($juryPromoteursUlb) && $juryPromoteurUlb === null): ?>
|
<?php if (empty($juryPromoteursUlb) && $juryPromoteurUlb === null): ?>
|
||||||
<div class="admin-jury-entry">
|
<div class="admin-jury-entry">
|
||||||
<input type="text" name="jury_promoteur_ulb_name[]" placeholder="Nom"
|
<input type="text" name="jury_promoteur_ulb_name[]" placeholder="Nom"
|
||||||
aria-label="Promoteur·ice ULB 1 — nom" autocomplete="off">
|
aria-label="Promoteur·ice université 1 — nom" autocomplete="off">
|
||||||
<button type="button" class="btn btn--sm btn--ghost admin-btn-remove"
|
<button type="button" class="btn btn--sm btn--ghost admin-btn-remove"
|
||||||
onclick="removeJuryRow(this)" aria-label="Supprimer"><span aria-hidden="true">✕</span></button>
|
onclick="removeJuryRow(this)" aria-label="Supprimer"><span aria-hidden="true">✕</span></button>
|
||||||
</div>
|
</div>
|
||||||
@@ -121,7 +121,7 @@ if ($addMode) {
|
|||||||
<div class="admin-jury-entry">
|
<div class="admin-jury-entry">
|
||||||
<input type="text" name="jury_promoteur_ulb_name[]"
|
<input type="text" name="jury_promoteur_ulb_name[]"
|
||||||
value="<?= htmlspecialchars($pm['name']) ?>" placeholder="Nom"
|
value="<?= htmlspecialchars($pm['name']) ?>" placeholder="Nom"
|
||||||
aria-label="Promoteur·ice ULB <?= $pi + 1 ?> — nom" autocomplete="off">
|
aria-label="Promoteur·ice université <?= $pi + 1 ?> — nom" autocomplete="off">
|
||||||
<button type="button" class="btn btn--sm btn--ghost admin-btn-remove"
|
<button type="button" class="btn btn--sm btn--ghost admin-btn-remove"
|
||||||
onclick="removeJuryRow(this)" aria-label="Supprimer"><span aria-hidden="true">✕</span></button>
|
onclick="removeJuryRow(this)" aria-label="Supprimer"><span aria-hidden="true">✕</span></button>
|
||||||
</div>
|
</div>
|
||||||
@@ -130,15 +130,15 @@ if ($addMode) {
|
|||||||
<div class="admin-jury-entry">
|
<div class="admin-jury-entry">
|
||||||
<input type="text" name="jury_promoteur_ulb_name[]"
|
<input type="text" name="jury_promoteur_ulb_name[]"
|
||||||
value="<?= htmlspecialchars($juryPromoteurUlb ?? '') ?>" placeholder="Nom"
|
value="<?= htmlspecialchars($juryPromoteurUlb ?? '') ?>" placeholder="Nom"
|
||||||
aria-label="Promoteur·ice ULB 1 — nom" autocomplete="off">
|
aria-label="Promoteur·ice université 1 — nom" autocomplete="off">
|
||||||
<button type="button" class="btn btn--sm btn--ghost admin-btn-remove"
|
<button type="button" class="btn btn--sm btn--ghost admin-btn-remove"
|
||||||
onclick="removeJuryRow(this)" aria-label="Supprimer"><span aria-hidden="true">✕</span></button>
|
onclick="removeJuryRow(this)" aria-label="Supprimer"><span aria-hidden="true">✕</span></button>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<button type="button" class="btn btn--secondary admin-add-jury-btn"
|
<button type="button" class="btn btn--secondary admin-add-jury-btn"
|
||||||
onclick="addJuryRow('jury-promoteur-ulb-list', 'jury_promoteur_ulb_name[]', 'Promoteur·ice ULB')">
|
onclick="addJuryRow('jury-promoteur-ulb-list', 'jury_promoteur_ulb_name[]', 'Promoteur·ice université')">
|
||||||
+ Ajouter un·e promoteur·ice ULB
|
+ Ajouter un·e promoteur·ice université
|
||||||
</button>
|
</button>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|||||||
@@ -133,7 +133,7 @@
|
|||||||
|
|
||||||
<?php if (!empty($promoteursUlb)): ?>
|
<?php if (!empty($promoteursUlb)): ?>
|
||||||
<p class="tfe-meta-item">
|
<p class="tfe-meta-item">
|
||||||
<span class="tfe-meta-label">Promoteur·ice ULB :</span>
|
<span class="tfe-meta-label">Promoteur·ice université :</span>
|
||||||
<?php
|
<?php
|
||||||
$links = array_map(
|
$links = array_map(
|
||||||
fn($n) => '<a href="/search?query=' . urlencode($n) . '">' . htmlspecialchars($n) . '</a>',
|
fn($n) => '<a href="/search?query=' . urlencode($n) . '">' . htmlspecialchars($n) . '</a>',
|
||||||
|
|||||||
Reference in New Issue
Block a user