From 7b650ef1d5137fc6b9f6c3b8d9381fdf31549a89 Mon Sep 17 00:00:00 2001 From: Joshua Laymon Date: Wed, 20 Aug 2025 03:06:57 +0000 Subject: [PATCH] Update web/templates/stats.html --- web/templates/stats.html | 64 ++++++++++------------------------------ 1 file changed, 15 insertions(+), 49 deletions(-) diff --git a/web/templates/stats.html b/web/templates/stats.html index c66b3c3..4957efa 100644 --- a/web/templates/stats.html +++ b/web/templates/stats.html @@ -36,35 +36,22 @@ - +
-
Subject Cloud
- - {% if top_subjects %} - {% with maxc=top_subjects.0.count|default:1 %} -
- {% for s in top_subjects %} - - {{ s.name }} - - {% endfor %} -
- {% endwith %} - {% else %} - No subjects. - {% endif %} +
Top Subjects
+
+ {% for s in top_subjects %} + + {{ s.name }} ({{ s.count }}) + + {% empty %} + No subjects. + {% endfor %} +
@@ -104,25 +91,4 @@ - - {% endblock %} \ No newline at end of file