Améliore signalement des sem. verrouillés sur page édition coefs.

This commit is contained in:
Emmanuel Viennet 2023-02-22 22:54:33 +01:00
parent 699f6419f3
commit 6e1bffab4f

View File

@ -215,6 +215,11 @@ def edit_modules_ue_coefs():
{lockicon} {lockicon}
</h2> </h2>
""", """,
"""<span class="warning">Formation verrouilée car un ou plusieurs
semestres verrouillés l'utilisent.
</span>"""
if locked
else "",
render_template( render_template(
"pn/form_modules_ue_coefs.j2", "pn/form_modules_ue_coefs.j2",
formation=formation, formation=formation,