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