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