1
0
forked from ScoDoc/ScoDoc

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:
Emmanuel Viennet 2023-02-20 13:07:17 +01:00
commit 4ec8c536c5

View File

@ -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