From 331d42f5ee27fc480f04a9f2ba916ff4792698af Mon Sep 17 00:00:00 2001
From: Emmanuel Viennet
Date: Sat, 26 Aug 2023 11:03:55 +0200
Subject: [PATCH] Fix affichage validation RCUE (merci @SebL). Corrige certains
liens externes. Ajout lien vers visu cursus.
---
app/but/jury_but_view.py | 7 +++++++
app/scodoc/html_sidebar.py | 6 ++++--
app/static/css/parcour_formation.css | 2 +-
app/templates/about.j2 | 3 ++-
app/templates/entreprises/import_donnees.j2 | 12 +++++++-----
app/templates/scodoc/help/modules.j2 | 2 +-
app/templates/sidebar.j2 | 3 ++-
app/views/absences.py | 17 ++++++++---------
8 files changed, 32 insertions(+), 20 deletions(-)
diff --git a/app/but/jury_but_view.py b/app/but/jury_but_view.py
index f2ead5ac..3ae00b2f 100644
--- a/app/but/jury_but_view.py
+++ b/app/but/jury_but_view.py
@@ -76,6 +76,13 @@ def show_etud(deca: DecisionsProposeesAnnee, read_only: bool = True) -> str:
f"""
{deca.explanation}
diff --git a/app/scodoc/html_sidebar.py b/app/scodoc/html_sidebar.py
index 820bf898..6e483df3 100755
--- a/app/scodoc/html_sidebar.py
+++ b/app/scodoc/html_sidebar.py
@@ -152,8 +152,10 @@ def sidebar(etudid: int = None):
# Logo
H.append(
f"""
{% endfor %}
diff --git a/app/templates/scodoc/help/modules.j2 b/app/templates/scodoc/help/modules.j2
index 2335df1a..b32f2f7f 100644
--- a/app/templates/scodoc/help/modules.j2
+++ b/app/templates/scodoc/help/modules.j2
@@ -22,7 +22,7 @@
type, et de saisir les coefficients pondérant l'influence de la
ressource ou SAÉ vers les Unités d'Enseignement (UE).
Voir les détails sur
- la documentation.
+ la documentation.
{%endif%}
diff --git a/app/templates/sidebar.j2 b/app/templates/sidebar.j2
index 5fe279d9..762b73be 100755
--- a/app/templates/sidebar.j2
+++ b/app/templates/sidebar.j2
@@ -86,7 +86,8 @@
diff --git a/app/views/absences.py b/app/views/absences.py
index 340752e7..181c8f05 100644
--- a/app/views/absences.py
+++ b/app/views/absences.py
@@ -259,6 +259,7 @@ sco_publish(
methods=["GET", "POST"],
)
+
# Antédiluvienne fonction: #deprecated
@bp.route("/ListeAbsEtud", methods=["GET", "POST"]) # pour compat anciens clients PHP
@scodoc
@@ -769,15 +770,13 @@ def _gen_form_saisie_groupe(
td_matin_class = ("matin_1", "matin_2", "matin_3")[i % 3]
H.append(
- '
%s%s | '
- % (
- tr_class,
- etud_class,
- etudid,
- url_for("scolar.ficheEtud", scodoc_dept=g.scodoc_dept, etudid=etudid),
- etud["nomprenom"],
- capstr,
- )
+ f"""
+
+ {
+ etud["nomprenom"]}{capstr}
+ | """
)
etud_abs = sco_abs.list_abs_in_range(
etudid, begin, end, moduleimpl_id=moduleimpl_id, cursor=cursor