From 1d321a0de68299bf645d611a6d538233538a936e Mon Sep 17 00:00:00 2001 From: bkfox Date: Fri, 12 Apr 2024 16:49:05 +0200 Subject: [PATCH] imrpove statistics rendering + filters --- aircox/templates/aircox/dashboard/statistics.html | 14 ++++++-------- aircox/templates/aircox/widgets/track_item.html | 2 +- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/aircox/templates/aircox/dashboard/statistics.html b/aircox/templates/aircox/dashboard/statistics.html index 4e17766..53ddd9c 100644 --- a/aircox/templates/aircox/dashboard/statistics.html +++ b/aircox/templates/aircox/dashboard/statistics.html @@ -4,7 +4,7 @@ {% block title %}{% translate "Statistics" %}{% endblock %} {% block content-container %} -
+

{% translate "Filter by date" %}

@@ -88,13 +88,11 @@ {% translate "Totals" %} - -
- - [[ tag ]] - [[ count ]] - -
+ + + [[ tag ]] + [[ count ]] + diff --git a/aircox/templates/aircox/widgets/track_item.html b/aircox/templates/aircox/widgets/track_item.html index 20ab4d2..f6b0429 100644 --- a/aircox/templates/aircox/widgets/track_item.html +++ b/aircox/templates/aircox/widgets/track_item.html @@ -13,7 +13,7 @@ Context: {% if log %} {{ log.date|date:"H:i" }} — {% endif %} - {{ object.title }} + {{ object.title }} {% if object.artist and object.artist != object.title %} — {{ object.artist }}