forked from MarseyWorld/MarseyWorld
better page title
parent
a11c7172c0
commit
23274536cd
|
@ -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)
|
||||
|
|
|
@ -117,7 +117,7 @@
|
|||
|
||||
<h4>Statistics</h4>
|
||||
<ul>
|
||||
<li><a href="/stats">Content Stats</a></li>
|
||||
<li><a href="/stats">Statistics</a></li>
|
||||
<li><a href="/weekly_chart">Weekly Stat Chart</a></li>
|
||||
<li><a href="/daily_chart">Daily Stat Chart</a></li>
|
||||
</ul>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "default.html" %}
|
||||
{% block pagetitle %}Content Statistics{% endblock %}
|
||||
{% block pagetitle %}Statistics{% endblock %}
|
||||
{% block content %}
|
||||
<div class="overflow-x-auto mt-1">
|
||||
<table class="table table-striped mb-5">
|
||||
|
|
Loading…
Reference in New Issue