refactor: rename Module to ECUE, update routes, UI, and API messages
Check Deno code / Check Deno code (pull_request) Failing after 27s
Tests / Unit tests (pull_request) Successful in 12s
Tests / Integration tests (pull_request) Successful in 1m16s

refactor: rename Module to ECUE in API, UI, and error messages
This commit is contained in:
2026-05-01 14:26:00 +02:00
parent b6586f7715
commit ae4d4d3020
10 changed files with 36 additions and 31 deletions
@@ -581,7 +581,7 @@ export default function ImportNotes() {
))}
</div>
<p class="col-dim" style="font-size: 0.72rem; margin-top: 0.35rem">
M = module (importe) | UE = moyenne UE (ignore) | X = malus
M = ECUE (importe) | UE = moyenne UE (ignore) | X = malus
</p>
</div>
)}
@@ -618,7 +618,7 @@ export default function ImportNotes() {
<p class="upload-format">
Format : <strong>Nom</strong> | <strong>Prenom</strong> |{" "}
<strong>CODE - Module</strong> (colonnes notes){" "}
<strong>CODE - ECUE</strong> (colonnes notes){" "}
les colonnes UE et MALUS sont auto-detectees
</p>
</div>
+2 -2
View File
@@ -324,14 +324,14 @@ export default function NoteRecap({ numEtud }: Props) {
)}
</div>
{/* Module rows */}
{/* ECUE rows */}
{ueMods.length === 0
? (
<p
class="col-dim"
style="font-size: 0.8rem; padding: 0.25rem 0; margin-bottom: 0.75rem"
>
Aucun module associe a cette UE pour cette promotion.
Aucun ECUE associe a cette UE pour cette promotion.
</p>
)
: (
+1 -1
View File
@@ -225,7 +225,7 @@ export default function NotesView({ numEtud, prenom }: Props) {
<div key={um.idModule} class="ue-module-row">
<span class="ue-module-name">
{mod ? mod.id : um.idModule} {" "}
{mod ? mod.nom : "Module inconnu"} (coef {um.coeff})
{mod ? mod.nom : "ECUE inconnu"} (coef {um.coeff})
</span>
<span class={`score-chip ${scoreClass(effective)}`}>
{effective !== null ? `${effective}/20` : "—"}