From b6326bdc8fa2239aba12ff2da9d5133c3c7b9113 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Sat, 22 Apr 2023 15:57:36 +0200 Subject: [PATCH] Fix category plot on month page --- .../templates/transaction/transaction_archive_month.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nummi/transaction/templates/transaction/transaction_archive_month.html b/nummi/transaction/templates/transaction/transaction_archive_month.html index 93561c0..431e4db 100644 --- a/nummi/transaction/templates/transaction/transaction_archive_month.html +++ b/nummi/transaction/templates/transaction/transaction_archive_month.html @@ -11,6 +11,8 @@ {% block table %}

{% translate "Transactions" %}

{{ block.super }} -

{% translate "History" %}

- {% include "category/category_plot.html" %} + {% if categories %} +

{% translate "Categories" %}

+ {% include "category/category_plot.html" %} + {% endif %} {% endblock %}