home schön gemacht
This commit is contained in:
parent
aa0767f790
commit
ea4e5d9296
@ -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"])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user