Compare commits

..

4 Commits

View File

@ -640,8 +640,13 @@ def formsemestre_recap_parcours_table(
# log('')
H.append(
'<td class="%s" title="%s">%s</td>'
% (class_ue, " ".join(explanation_ue), scu.fmt_note(moy_ue))
'<td class="%s" id="ue_%s" title="%s">%s</td>'
% (
ue["acronyme"],
class_ue,
" ".join(explanation_ue),
scu.fmt_note(moy_ue),
)
)
if len(ues) < Se.nb_max_ue:
H.append('<td colspan="%d"></td>' % (Se.nb_max_ue - len(ues)))
@ -677,12 +682,8 @@ def formsemestre_recap_parcours_table(
for ue in ues:
ue_status = nt.get_etud_ue_status(etudid, ue["ue_id"])
H.append(
'<td class="ue" id="ue_%s">%g<span class="ects_fond">%g</span></td>'
% (
ue["acronyme"],
ue_status["ects_pot"],
ue_status["ects_pot_fond"],
)
'<td class="ue">%g<span class="ects_fond">%g</span></td>'
% (ue_status["ects_pot"], ue_status["ects_pot_fond"])
)
H.append("<td></td></tr>")