From 034cb99c770b2aef07c7d78db403a39d47af8ca0 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Thu, 28 May 2026 16:57:57 -0400 Subject: [PATCH] [charts] Add timemachine links --- vrobbler/templates/charts/chart_index.html | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/vrobbler/templates/charts/chart_index.html b/vrobbler/templates/charts/chart_index.html index 1c880ba..04da727 100644 --- a/vrobbler/templates/charts/chart_index.html +++ b/vrobbler/templates/charts/chart_index.html @@ -64,6 +64,30 @@ +{% if period_type == "month" and month %} +
+
+ Time machine: + {% for y in chart_years %} + {% if y != year %} + {{ y }} + {% endif %} + {% endfor %} +
+
+{% elif period_type == "week" and week %} +
+
+ Time machine: + {% for y in chart_years %} + {% if y != year %} + {{ y }} + {% endif %} + {% endfor %} +
+
+{% endif %} +
{% if charts.artist %}