From 9be3c9105fc040d4203cdbf51823ebd925f3726f Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Mon, 24 Jun 2024 16:48:13 +0200 Subject: [PATCH] Evaluation bonus: ajout documentation + presentation UE bonus --- app/scodoc/sco_edit_ue.py | 2 +- app/scodoc/sco_evaluation_edit.py | 2 +- app/static/css/scodoc.css | 2 -- app/templates/configuration.j2 | 2 +- app/templates/scodoc/help/evaluations.j2 | 5 ++++- app/views/scodoc.py | 2 +- 6 files changed, 8 insertions(+), 7 deletions(-) diff --git a/app/scodoc/sco_edit_ue.py b/app/scodoc/sco_edit_ue.py index f2b14e43..042297ed 100644 --- a/app/scodoc/sco_edit_ue.py +++ b/app/scodoc/sco_edit_ue.py @@ -528,7 +528,7 @@ def ue_edit(ue_id=None, create=False, formation_id=None, default_semestre_idx=No {ue_parcours_div} {modules_div} -
+
{html_sco_header.sco_footer()} diff --git a/app/scodoc/sco_evaluation_edit.py b/app/scodoc/sco_evaluation_edit.py index 251e75c2..7a80d13d 100644 --- a/app/scodoc/sco_evaluation_edit.py +++ b/app/scodoc/sco_evaluation_edit.py @@ -256,7 +256,7 @@ def evaluation_create_form( + ( "(pondéré par poids et ajouté aux moyennes de ce module)" if is_apc - else "(ajouté à la moyenne de ce module)" + else "(ajouté à la moyenne de ce module, différent du bonus sport !)" ) ), ), diff --git a/app/static/css/scodoc.css b/app/static/css/scodoc.css index 1c490842..7082ccff 100644 --- a/app/static/css/scodoc.css +++ b/app/static/css/scodoc.css @@ -1271,8 +1271,6 @@ div.wtf-error-messages { #bonus_description { color: rgb(6, 73, 6); - padding: 5px; - margin-top: 5px; border: 2px solid blue; border-radius: 5px; background-color: cornsilk; diff --git a/app/templates/configuration.j2 b/app/templates/configuration.j2 index eec4a695..7d6b3474 100644 --- a/app/templates/configuration.j2 +++ b/app/templates/configuration.j2 @@ -74,7 +74,7 @@ Heure: {{ time.strftime("%d/%m/%Y %H:%M") }} {{ wtf.quick_form(form_bonus) }} -
+
diff --git a/app/templates/scodoc/help/evaluations.j2 b/app/templates/scodoc/help/evaluations.j2 index 1f133896..f25ddc37 100644 --- a/app/templates/scodoc/help/evaluations.j2 +++ b/app/templates/scodoc/help/evaluations.j2 @@ -29,7 +29,7 @@ visible par les étudiants sur le portail).

- Les évaluations bonus sont particulières: + Les évaluations bonus sont particulières:

Les modalités "rattrapage" et "deuxième session" définissent des diff --git a/app/views/scodoc.py b/app/views/scodoc.py index 1bf6fe52..233e7f6e 100644 --- a/app/views/scodoc.py +++ b/app/views/scodoc.py @@ -648,7 +648,7 @@ def get_bonus_description(bonus_name: str): text = "" first_line = "pas de fonction bonus configurée." - return f"""

{first_line}
+ return f"""
{first_line}
{text}
"""