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 committed by iziram
parent 88320ce95f
commit c7731f0455

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,