forked from ScoDoc/ScoDoc
Liens navigation sur saisie jury BUT semestriel. #425
This commit is contained in:
parent
4d453d5d14
commit
dcdd83d2e8
@ -160,7 +160,10 @@ def _gen_but_niveau_ue(
|
||||
|
||||
|
||||
def jury_but_semestriel(
|
||||
formsemestre: FormSemestre, etud: Identite, read_only: bool
|
||||
formsemestre: FormSemestre,
|
||||
etud: Identite,
|
||||
read_only: bool,
|
||||
navigation_div: str = "",
|
||||
) -> str:
|
||||
"""Formulaire saisie décision d'UE d'un semestre BUT isolé (pas jury annuel)"""
|
||||
res: ResultatsSemestreBUT = res_sem.load_formsemestre_results(formsemestre)
|
||||
@ -330,6 +333,7 @@ def jury_but_semestriel(
|
||||
</div>
|
||||
"""
|
||||
)
|
||||
H.append(navigation_div)
|
||||
return "\n".join(H)
|
||||
|
||||
|
||||
|
@ -2306,7 +2306,9 @@ def formsemestre_validation_but(
|
||||
deca = jury_but.DecisionsProposeesAnnee(etud, formsemestre)
|
||||
if len(deca.rcues_annee) == 0:
|
||||
# raise ScoValueError("année incomplète: pas de jury BUT annuel possible")
|
||||
return jury_but_view.jury_but_semestriel(formsemestre, etud, read_only)
|
||||
return jury_but_view.jury_but_semestriel(
|
||||
formsemestre, etud, read_only, navigation_div=navigation_div
|
||||
)
|
||||
if request.method == "POST":
|
||||
if not read_only:
|
||||
deca.record_form(request.form)
|
||||
|
Loading…
Reference in New Issue
Block a user