Compare commits

..

4 Commits

View File

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