home schön gemacht

This commit is contained in:
Bkolb 2026-04-06 22:10:52 +02:00
parent aa0767f790
commit ea4e5d9296

View File

@ -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"])