forked from ScoDoc/ScoDoc
Fix: fiche etud BUT
This commit is contained in:
parent
a476854fac
commit
0fe89b0501
@ -162,12 +162,12 @@ def infos_fiche_etud_html(etudid: int) -> str:
|
|||||||
# temporaire quick & dirty: affiche le dernier
|
# temporaire quick & dirty: affiche le dernier
|
||||||
try:
|
try:
|
||||||
deca = DecisionsProposeesAnnee(etud, formsemestres_but[-1])
|
deca = DecisionsProposeesAnnee(etud, formsemestres_but[-1])
|
||||||
|
if len(deca.rcues_annee) > 0:
|
||||||
|
return f"""<div class="infos_but">
|
||||||
|
{show_etud(deca, read_only=True)}
|
||||||
|
</div>
|
||||||
|
"""
|
||||||
except ScoValueError:
|
except ScoValueError:
|
||||||
pass
|
pass
|
||||||
if len(deca.rcues_annee) > 0:
|
|
||||||
return f"""<div class="infos_but">
|
|
||||||
{show_etud(deca, read_only=True)}
|
|
||||||
</div>
|
|
||||||
"""
|
|
||||||
|
|
||||||
return ""
|
return ""
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# -*- mode: python -*-
|
# -*- mode: python -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
SCOVERSION = "9.3.8"
|
SCOVERSION = "9.3.9"
|
||||||
|
|
||||||
SCONAME = "ScoDoc"
|
SCONAME = "ScoDoc"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user