refactor: rename Module to ECUE, update routes, UI, and API messages
refactor: rename Module to ECUE in API, UI, and error messages
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
)
|
||||
: (
|
||||
|
||||
@@ -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` : "—"}
|
||||
|
||||
Reference in New Issue
Block a user