Merge pull request 'fix_9.4.45' (#605) from jmplace/ScoDoc-Lille:fix_9.4.45 into master
Reviewed-on: https://scodoc.org/git/ScoDoc/ScoDoc/pulls/605
This commit is contained in:
commit
4ec8c536c5
@ -494,7 +494,8 @@ def formation_list_table(formation_id=None, args={}):
|
|||||||
else:
|
else:
|
||||||
f["date_fin_dernier_sem"] = ""
|
f["date_fin_dernier_sem"] = ""
|
||||||
f["annee_dernier_sem"] = ""
|
f["annee_dernier_sem"] = ""
|
||||||
locked = formation_has_locked_sems(f["formation_id"])
|
formation: Formation = Formation.query.get_or_404(f["formation_id"])
|
||||||
|
locked = formation.has_locked_sems()
|
||||||
#
|
#
|
||||||
if locked:
|
if locked:
|
||||||
but_locked = lockicon
|
but_locked = lockicon
|
||||||
|
Loading…
Reference in New Issue
Block a user