From f28e8a59c781f24ed9399268cc2536aad0cf534d Mon Sep 17 00:00:00 2001 From: Benedict Börger Date: Sun, 14 Apr 2019 19:12:21 +0200 Subject: [global] update all files --- templates/chart.html.tera | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'templates/chart.html.tera') diff --git a/templates/chart.html.tera b/templates/chart.html.tera index 6ce1613..f2efa38 100644 --- a/templates/chart.html.tera +++ b/templates/chart.html.tera @@ -68,10 +68,19 @@

Spending Chart {{ account_name }}

-
to + to
+
{{ total_chart | round(method="common", precision=2)}} Euro of + total {{ total_sum | round(method="common", precision=2) }} Euro ( + {% if total_sum > 0 %} + {{ ((total_chart / total_sum) * 100) | round(method="common", precision=0) }} + {% else %} + 100 + {% endif %} + %) present in chart +
-- cgit v1.2.3-70-g09d2