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