From 23274536cd025fc2429b699a4061ac28c762be19 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 25 Nov 2023 21:47:38 +0200 Subject: [PATCH] better page title --- files/routes/static.py | 2 +- files/templates/admin/admin_home.html | 2 +- files/templates/stats.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/files/routes/static.py b/files/routes/static.py index c22077ebd9..92a7caaddf 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -137,7 +137,7 @@ def sidebar(v): def participation_stats(v): stats = cache.get('stats') or {} if v.client: return stats - return render_template("stats.html", v=v, title="Content Statistics", data=stats) + return render_template("stats.html", v=v, title="Statistics", data=stats) @app.get("/chart") @limiter.limit(DEFAULT_RATELIMIT, deduct_when=lambda response: response.status_code < 400) diff --git a/files/templates/admin/admin_home.html b/files/templates/admin/admin_home.html index 103c17fd26..71bb723ce4 100644 --- a/files/templates/admin/admin_home.html +++ b/files/templates/admin/admin_home.html @@ -117,7 +117,7 @@

Statistics

diff --git a/files/templates/stats.html b/files/templates/stats.html index 44111a6625..20e09d46c0 100644 --- a/files/templates/stats.html +++ b/files/templates/stats.html @@ -1,5 +1,5 @@ {% extends "default.html" %} -{% block pagetitle %}Content Statistics{% endblock %} +{% block pagetitle %}Statistics{% endblock %} {% block content %}