1
0
forked from ScoDoc/ScoDoc

Fix: affichage validation si UE sans ECTS

This commit is contained in:
Emmanuel Viennet 2024-07-20 14:39:03 +02:00
parent e91503a9b5
commit 059678c3b3

View File

@ -116,7 +116,7 @@ class ScolarFormSemestreValidation(db.Model):
if self.ue.parcours else ""}
{("émise par " + link)}
: <b>{self.code}</b>{moyenne}
<b>{self.ue.ects:g} ECTS</b>
<b>{(self.ue.ects or 0):g} ECTS</b>
le {self.event_date.strftime(scu.DATEATIME_FMT)}
"""
else: