ajout id sur les notes d'ue

This commit is contained in:
Aurélien Plancke 2021-06-07 13:58:01 +02:00
parent 195eeab128
commit a5f0efccb6

View File

@ -401,9 +401,9 @@ def formsemestre_validation_etud_manu(
def _redirect_valid_choice(
formsemestre_id, etudid, Se, choice, desturl, sortcol, REQUEST
):
adr = (
"formsemestre_validation_etud_form?formsemestre_id=%s&etudid=%s&check=1"
% (formsemestre_id, etudid)
adr = "formsemestre_validation_etud_form?formsemestre_id=%s&etudid=%s&check=1" % (
formsemestre_id,
etudid,
)
if sortcol:
adr += "&sortcol=" + sortcol
@ -677,8 +677,12 @@ 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">%g <span class="ects_fond">%g</span></td>'
% (ue_status["ects_pot"], ue_status["ects_pot_fond"])
'<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"],
)
)
H.append("<td></td></tr>")