From 6b1ccfe4005e0bf5548e667ff4b88c797459ff02 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Thu, 6 Jan 2022 23:37:57 +0100 Subject: [PATCH] about: demande login --- app/templates/scodoc.html | 4 ++-- app/views/scodoc.py | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/templates/scodoc.html b/app/templates/scodoc.html index 49f277610..ddc33a557 100644 --- a/app/templates/scodoc.html +++ b/app/templates/scodoc.html @@ -58,8 +58,8 @@ -->
- Service réservé aux personnels et enseignants, basé sur le logiciel libre - ScoDoc. + Service réservé aux personnels et enseignants, basé sur + le logiciel libre ScoDoc.
{% endblock %} \ No newline at end of file diff --git a/app/views/scodoc.py b/app/views/scodoc.py index a7aedaa88..6a9bb58a2 100644 --- a/app/views/scodoc.py +++ b/app/views/scodoc.py @@ -90,6 +90,7 @@ def index(): current_app=flask.current_app, depts=depts, Permission=Permission, + scu=scu, ) @@ -204,6 +205,7 @@ def search_inscr_etud_by_nip(code_nip, format="json", __ac_name="", __ac_passwor @bp.route("/ScoDoc/about") @bp.route("/ScoDoc/Scolarite//about") +@login_required def about(scodoc_dept=None): "version info" return render_template(