From f1dae9b88091db0530262065cd465be983286010 Mon Sep 17 00:00:00 2001 From: SimolZimol <70102430+SimolZimol@users.noreply.github.com> Date: Thu, 24 Oct 2024 15:45:30 +0200 Subject: [PATCH] modified: app.py renamed: templates/admin_dashboard.html -> templates/global_admin_dashboard.html --- app.py | 2 +- templates/{admin_dashboard.html => global_admin_dashboard.html} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename templates/{admin_dashboard.html => global_admin_dashboard.html} (100%) diff --git a/app.py b/app.py index 4954952..aa5d031 100644 --- a/app.py +++ b/app.py @@ -325,7 +325,7 @@ def user_landing_page(): def global_admin_dashboard(): """Globales Admin-Dashboard nur für globale Admins""" if session.get("is_admin"): - return render_template("admin_dashboard.html") + return render_template("global_admin_dashboard.html") return redirect(url_for("user_landing_page")) @app.route("/logout") diff --git a/templates/admin_dashboard.html b/templates/global_admin_dashboard.html similarity index 100% rename from templates/admin_dashboard.html rename to templates/global_admin_dashboard.html