diff --git a/app/templates/assiduites/pages/calendrier.j2 b/app/templates/assiduites/pages/calendrier.j2 index 6058bfa5d..cd8feb583 100644 --- a/app/templates/assiduites/pages/calendrier.j2 +++ b/app/templates/assiduites/pages/calendrier.j2 @@ -169,7 +169,7 @@ right: 0; background-color: var(--color-justi-invalide) !important; } - .color.attente::before { + .color.attente::before, .color.modifie::before { content: ""; position: absolute; width: 25%; @@ -475,6 +475,10 @@ let est_just = "" if (dayJustificatifs.some((j) => j.etat.toLowerCase() === "valide")) { est_just = "est_just"; + } else if (dayJustificatifs.some((j) => j.etat.toLowerCase() === "attente")) { + est_just = "attente"; + } else if (dayJustificatifs.some((j) => j.etat.toLowerCase() === "modifie")) { + est_just = "modifie"; } else if (dayJustificatifs.some((j) => j.etat.toLowerCase() !== "valide")) { est_just = "invalide"; } @@ -535,6 +539,8 @@ est_just = ["est_just"]; } else if (justificatifsMatin.some((j) => j.etat.toLowerCase() === "attente")) { est_just = ["attente"]; + } else if (justificatifsMatin.some((j) => j.etat.toLowerCase() === "modifie")) { + est_just = ["modifie"]; } else if (justificatifsMatin.some((j) => j.etat.toLowerCase() !== "valide")) { est_just = ["invalide"]; @@ -579,8 +585,9 @@ est_just = ["est_just"]; } else if (justificatifsAprem.some((j) => j.etat.toLowerCase() === "attente")) { est_just = ["attente"]; - } - else if (justificatifsAprem.some((j) => j.etat.toLowerCase() !== "valide")) { + } else if (justificatifsAprem.some((j) => j.etat.toLowerCase() === "modifie")) { + est_just = ["modifie"]; + } else if (justificatifsAprem.some((j) => j.etat.toLowerCase() !== "valide")) { est_just = ["invalide"]; }