From 699f6419f306ee0c087c320565e267625e08ab85 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Wed, 22 Feb 2023 22:45:39 +0100 Subject: [PATCH] =?UTF-8?q?Am=C3=A9liore=20signalement=20des=20sem.=20verr?= =?UTF-8?q?ouill=C3=A9s=20sur=20page=20=C3=A9dition=20programme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scodoc/sco_edit_ue.py | 12 ++++++++++-- app/scodoc/sco_synchro_etuds.py | 2 +- app/static/css/scodoc.css | 11 ++++++++++- 3 files changed, 21 insertions(+), 4 deletions(-) diff --git a/app/scodoc/sco_edit_ue.py b/app/scodoc/sco_edit_ue.py index 11d36e7f0..9f4900bc4 100644 --- a/app/scodoc/sco_edit_ue.py +++ b/app/scodoc/sco_edit_ue.py @@ -775,11 +775,19 @@ du programme" (menu "Semestre") si vous avez un semestre en cours); # Formation APC (BUT) ? if is_apc: + lock_info = ( + """verrouillé (voir liste des semestres utilisateurs + en bas de page) + """ + if locked + else "" + ) H.append( f"""
Formation par compétences (BUT) - - Semestre {_html_select_semestre_idx(formation_id, semestre_ids, semestre_idx)} + - {_html_select_semestre_idx(formation_id, semestre_ids, semestre_idx)} + {lock_info}
""" ) @@ -985,7 +993,7 @@ du programme" (menu "Semestre") si vous avez un semestre en cours); def _html_select_semestre_idx(formation_id, semestre_ids, semestre_idx): - htm = """
Semestre: + htm = """Semestre: