forked from ScoDoc/DocScoDoc
3 petits bugs
This commit is contained in:
parent
f64a6c7d49
commit
bc01d5ac02
@ -64,7 +64,7 @@ def table_billets_etud(
|
||||
) -> GenTable:
|
||||
"""Page avec table billets."""
|
||||
etud = Identite.query.get_or_404(etudid) if etudid is not None else None
|
||||
billets = query_billets_etud(etud.id, etat)
|
||||
billets = query_billets_etud(etudid, etat)
|
||||
return table_billets(billets, etud=etud, with_links=with_links)
|
||||
|
||||
|
||||
|
@ -1113,7 +1113,7 @@ def formsemestre_status(formsemestre_id=None):
|
||||
"</div>",
|
||||
]
|
||||
# --- Lien mail enseignants:
|
||||
adrlist = list(mails_enseignants - set([""]))
|
||||
adrlist = list(mails_enseignants - {None, ""})
|
||||
if adrlist:
|
||||
H.append(
|
||||
'<p><a class="stdlink" href="mailto:?cc=%s">Courrier aux %d enseignants du semestre</a></p>'
|
||||
|
@ -227,11 +227,11 @@ def formsemestre_list_saisies_notes(formsemestre_id, format="html"):
|
||||
titles=titles,
|
||||
columns_ids=columns_ids,
|
||||
rows=rows,
|
||||
html_title=f"<h2>Saisies de notes dans {formsemestre.titreannee()}</h2>",
|
||||
html_title=f"<h2>Saisies de notes dans {formsemestre.titre_annee()}</h2>",
|
||||
html_class="table_leftalign table_coldate gt_table_searchable",
|
||||
html_class_ignore_default=True,
|
||||
html_sortable=True,
|
||||
caption=f"Saisies de notes dans {formsemestre.titreannee()}",
|
||||
caption=f"Saisies de notes dans {formsemestre.titre_annee()}",
|
||||
preferences=sco_preferences.SemPreferences(formsemestre_id),
|
||||
base_url="%s?formsemestre_id=%s" % (request.base_url, formsemestre_id),
|
||||
origin=f"Généré par {sco_version.SCONAME} le " + scu.timedate_human_repr() + "",
|
||||
|
@ -1,7 +1,7 @@
|
||||
# -*- mode: python -*-
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
SCOVERSION = "9.3.35"
|
||||
SCOVERSION = "9.3.36"
|
||||
|
||||
SCONAME = "ScoDoc"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user