forked from ScoDoc/ScoDoc
Bulletin : situation "inscrit" des démissionnaires #498
This commit is contained in:
parent
78bb9a706e
commit
a3e4c34745
@ -278,11 +278,18 @@ class Identite(db.Model):
|
||||
inscription_courante = self.inscription_courante()
|
||||
if inscription_courante:
|
||||
titre_sem = inscription_courante.formsemestre.titre_mois()
|
||||
if inscription_courante.etat == scu.DEMISSION:
|
||||
inscr_txt = "Démission de"
|
||||
elif inscription_courante.etat == scu.DEF:
|
||||
inscr_txt = "Défaillant dans"
|
||||
else:
|
||||
inscr_txt = "Inscrit en"
|
||||
|
||||
return {
|
||||
"etat_in_cursem": inscription_courante.etat,
|
||||
"inscription_courante": inscription_courante,
|
||||
"inscription": titre_sem,
|
||||
"inscription_str": "Inscrit en " + titre_sem,
|
||||
"inscription_str": inscr_txt + " " + titre_sem,
|
||||
"situation": self.descr_situation_etud(),
|
||||
}
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user