From 4aa24345fc77905fc731d2d5cdd84c875d708bcf Mon Sep 17 00:00:00 2001 From: Jack Eilles Date: Wed, 3 Jan 2024 08:41:50 +0000 Subject: [PATCH] fix issue with userid not passing --- app/routes.py | 8 ++++++-- app/templates/index.html | 5 +++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/app/routes.py b/app/routes.py index 74a7026..7838ad9 100644 --- a/app/routes.py +++ b/app/routes.py @@ -110,7 +110,7 @@ def tos(): @app.route('/privacy') def privacy(): - return "placeholder" + return render_template('privacy.html') @app.route('/faq') def faq(): @@ -122,7 +122,11 @@ def contact(): @app.route('/transparency') def transparency(): - return "placeholder" + return render_template('transparency.html') + +@app.route('/transparency/public') +def public(): + return "Nothing here yet." @app.route('/') def getData(id): diff --git a/app/templates/index.html b/app/templates/index.html index 2b17fa0..afbe1d5 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -22,7 +22,7 @@ {% if current_user.is_authenticated %} - + {% endif %} @@ -39,7 +39,8 @@ {% if current_user.is_authenticated %} - + + {% endif %}