From 5534a4352dcf725478ff7ab857f44b00b948d62e Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Wed, 19 Apr 2023 18:35:57 +0200 Subject: [PATCH] Add trend to history chart --- nummi/main/templates/main/plot/history.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nummi/main/templates/main/plot/history.html b/nummi/main/templates/main/plot/history.html index 73c80d4..4eb48ae 100644 --- a/nummi/main/templates/main/plot/history.html +++ b/nummi/main/templates/main/plot/history.html @@ -3,6 +3,7 @@
+ @@ -10,6 +11,7 @@ + @@ -19,6 +21,9 @@ {% spaceless %} {% for date in history.data %} +
{{ "expand-up-down"|remix }} {% translate "Month" %} {% translate "Expenses" %} {% translate "Income" %}
+ + {{ date.month|date:"Y-m" }} {{ date.sum_m|pmrvalue }}