Fix #525 (lien intranet)

This commit is contained in:
Emmanuel Viennet 2022-11-08 00:07:35 +01:00
parent 7f786faa2d
commit d4675688da
3 changed files with 2 additions and 3 deletions

View File

@ -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(

View File

@ -15,7 +15,7 @@
<h2 class="insidebar">Dépt. {{ sco.prefs["DeptName"] }}</h2>
<a href="{{ url_for('scolar.index_html', scodoc_dept=g.scodoc_dept) }}" class="sidebar">Accueil</a> <br />
{% if sco.prefs["DeptIntranetURL"] %}
<a href="{{ sco.prefs[" DeptIntranetURL"] }}" class="sidebar">
<a href="{{ sco.prefs['DeptIntranetURL'] }}" class="sidebar">
{{ sco.prefs["DeptIntranetTitle"] }}</a>
{% endif %}
<br>

View File

@ -1,7 +1,7 @@
# -*- mode: python -*-
# -*- coding: utf-8 -*-
SCOVERSION = "9.4.2"
SCOVERSION = "9.4.3"
SCONAME = "ScoDoc"