9.4.3
This commit is contained in:
parent
559b66de8b
commit
49d176c603
@ -220,10 +220,8 @@ class releveBUT extends HTMLElement {
|
|||||||
<div>Min. promo. :</div><div>${data.semestre.notes.min}</div>
|
<div>Min. promo. :</div><div>${data.semestre.notes.min}</div>
|
||||||
</div>
|
</div>
|
||||||
${(() => {
|
${(() => {
|
||||||
if (data.semestre.rang.groupes == null) {
|
if ((!data.semestre.rang.groupes) ||
|
||||||
return "";
|
(Object.keys(data.semestre.rang.groupes).length == 0)) {
|
||||||
}
|
|
||||||
if (Object.keys(data.semestre.rang.groupes).length == 0) {
|
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
let output = "";
|
let output = "";
|
||||||
|
@ -1380,8 +1380,10 @@ def _ProcessBilletAbsence(
|
|||||||
@scodoc
|
@scodoc
|
||||||
@permission_required(Permission.ScoAbsChange)
|
@permission_required(Permission.ScoAbsChange)
|
||||||
@scodoc7func
|
@scodoc7func
|
||||||
def process_billet_absence_form(billet_id):
|
def process_billet_absence_form(billet_id: int):
|
||||||
"""Formulaire traitement d'un billet"""
|
"""Formulaire traitement d'un billet"""
|
||||||
|
if not isinstance(billet_id, int):
|
||||||
|
raise abort(404, "billet_id invalide")
|
||||||
billet: BilletAbsence = (
|
billet: BilletAbsence = (
|
||||||
BilletAbsence.query.filter_by(id=billet_id)
|
BilletAbsence.query.filter_by(id=billet_id)
|
||||||
.join(Identite)
|
.join(Identite)
|
||||||
|
Loading…
Reference in New Issue
Block a user