diff --git a/client/src/pages/AdminApprenants.tsx b/client/src/pages/AdminApprenants.tsx index e5f5162..32461d4 100644 --- a/client/src/pages/AdminApprenants.tsx +++ b/client/src/pages/AdminApprenants.tsx @@ -295,8 +295,14 @@ export default function AdminApprenants() { {apprenant.email} {apprenant.codeEtablissement} - {apprenant.fonction === "directeur" ? "Directeur" : - apprenant.fonction === "chef_service" ? "Chef de service" : "Autre"} + + {apprenant.fonction === "directeur" ? "Directeur" : + apprenant.fonction === "chef_service" ? "Chef de service" : "Autre"} +
@@ -306,7 +312,7 @@ export default function AdminApprenants() { onClick={() => setLocation(`/admin/apprenants/${apprenant.id}`)} title="Voir les détails et inscriptions" > - +
diff --git a/todo.md b/todo.md index 6f425ae..809eeb4 100644 --- a/todo.md +++ b/todo.md @@ -554,3 +554,9 @@ ## Correction algorithme de couleur des formations - [x] Corriger la fonction getFormationColor pour que chaque formation ait une couleur unique + +## Amélioration visuelle page des apprenants + +- [x] Afficher l'icône corbeille en rouge +- [x] Afficher l'icône œil en bleu +- [x] Coloriser la fonction (Directeurs, Chefs de service) comme dans les séquences