Fix #572: Affichage date dans table Description du semestre
This commit is contained in:
parent
4fd9012133
commit
05953bd96d
@ -643,12 +643,12 @@ def formsemestre_description_table(
|
|||||||
titles = {title: title for title in columns_ids}
|
titles = {title: title for title in columns_ids}
|
||||||
titles.update({f"ue_{ue.id}": ue.acronyme for ue in ues})
|
titles.update({f"ue_{ue.id}": ue.acronyme for ue in ues})
|
||||||
titles["ects"] = "ECTS"
|
titles["ects"] = "ECTS"
|
||||||
titles["jour"] = "Evaluation"
|
titles["jour"] = "Évaluation"
|
||||||
titles["description"] = ""
|
titles["description"] = ""
|
||||||
titles["coefficient"] = "Coef. éval."
|
titles["coefficient"] = "Coef. éval."
|
||||||
titles["evalcomplete_str"] = "Complète"
|
titles["evalcomplete_str"] = "Complète"
|
||||||
titles["parcours"] = "Parcours"
|
titles["parcours"] = "Parcours"
|
||||||
titles["publish_incomplete_str"] = "Toujours Utilisée"
|
titles["publish_incomplete_str"] = "Toujours utilisée"
|
||||||
title = f"{parcours.SESSION_NAME.capitalize()} {formsemestre.titre_mois()}"
|
title = f"{parcours.SESSION_NAME.capitalize()} {formsemestre.titre_mois()}"
|
||||||
|
|
||||||
R = []
|
R = []
|
||||||
@ -727,6 +727,8 @@ def formsemestre_description_table(
|
|||||||
evals.reverse() # ordre chronologique
|
evals.reverse() # ordre chronologique
|
||||||
# Ajoute etat:
|
# Ajoute etat:
|
||||||
for e in evals:
|
for e in evals:
|
||||||
|
e["_jour_order"] = e["jour"].isoformat()
|
||||||
|
e["jour"] = e["jour"].strftime("%d/%m/%Y") if e["jour"] else ""
|
||||||
e["UE"] = l["UE"]
|
e["UE"] = l["UE"]
|
||||||
e["_UE_td_attrs"] = l["_UE_td_attrs"]
|
e["_UE_td_attrs"] = l["_UE_td_attrs"]
|
||||||
e["Code"] = l["Code"]
|
e["Code"] = l["Code"]
|
||||||
|
Loading…
Reference in New Issue
Block a user