diff --git a/nummi/category/templates/category/category_plot.html b/nummi/category/templates/category/category_plot.html index 2829d1a..760fcf0 100644 --- a/nummi/category/templates/category/category_plot.html +++ b/nummi/category/templates/category/category_plot.html @@ -21,8 +21,14 @@ {% if cat.category %} - {% if year or month %} - {{ cat.category__icon|remix }}{{ cat.category__name }} + {% if year %} + {{ cat.category__icon|remix }}{{ cat.category__name }} + {% elif month %} + {{ cat.category__icon|remix }}{{ cat.category__name }} + {% elif statement %} + {{ cat.category_.icon|remix }}{{ cat.category__name }} + {% elif account %} + {{ cat.category__icon|remix }}{{ cat.category__name }} {% else %} {{ cat.category__icon|remix }}{{ cat.category__name }} {% endif %}