diff --git a/app/flask-postgres/app/app.py b/app/flask-postgres/app/app.py index 9f86f1f..5ce30a9 100644 --- a/app/flask-postgres/app/app.py +++ b/app/flask-postgres/app/app.py @@ -284,7 +284,13 @@ def startup_checks(): @app.route("/") @app.route("/home") def home(): - return render_page("home", "Home") + return render_template( + "index.html", + page_title="Info", + active_page="home", + vat_label=COUNTRY_VAT_LABELS.get(session.get("country", "DE")), + **get_current_user() + ) @app.route("/preise") @@ -304,13 +310,10 @@ def allgemein(): "allgemein.html", page_title="Info", active_page="allgemein", + vat_label=COUNTRY_VAT_LABELS.get(session.get("country", "DE")), **get_current_user() ) -# @app.route("/allgemein") -# @login_required -# def allgemein(): -# return render_page("allgemein", "Allgemein") @app.route("/login", methods=["GET", "POST"])