From d4675688da1a255f0bd90bdf9c5e0dd38e1892ff Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Tue, 8 Nov 2022 00:07:35 +0100 Subject: [PATCH] Fix #525 (lien intranet) --- app/scodoc/html_sidebar.py | 1 - app/templates/sidebar.html | 2 +- sco_version.py | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/scodoc/html_sidebar.py b/app/scodoc/html_sidebar.py index 45497ff2b..98acc56c0 100644 --- a/app/scodoc/html_sidebar.py +++ b/app/scodoc/html_sidebar.py @@ -101,7 +101,6 @@ def sidebar(etudid: int = None): etudid = request.form.get("etudid", None) if etudid is not None: - etudi = int(etudid) etud = sco_etud.get_etud_info(filled=True, etudid=etudid)[0] params.update(etud) params["fiche_url"] = url_for( diff --git a/app/templates/sidebar.html b/app/templates/sidebar.html index a91b97786..4130ae6e9 100644 --- a/app/templates/sidebar.html +++ b/app/templates/sidebar.html @@ -15,7 +15,7 @@

Dépt. {{ sco.prefs["DeptName"] }}

Accueil
{% if sco.prefs["DeptIntranetURL"] %} - + {{ sco.prefs["DeptIntranetTitle"] }} {% endif %}
diff --git a/sco_version.py b/sco_version.py index a4bb7216d..dca73c8b2 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.4.2" +SCOVERSION = "9.4.3" SCONAME = "ScoDoc"