From 2d009fba82d4f198367e3a748c7115b0a77d165e Mon Sep 17 00:00:00 2001 From: Christian Heller <c.heller@plomlompom.de> Date: Wed, 22 Jan 2025 20:31:48 +0100 Subject: [PATCH] Improve balance layout. --- templates/balance.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/balance.tmpl b/templates/balance.tmpl index 9ad7ecf..6d5e9d4 100644 --- a/templates/balance.tmpl +++ b/templates/balance.tmpl @@ -8,13 +8,14 @@ <td class="curr">{{curr|truncate(4,true,"â¦")}}</td> {% endif %} {% endfor %} -<td rowspan={{ account.wealth.moneys|length }}>{% for _ in range(indent) %}[â¦]:{% endfor %}{{account.basename}}</td> +<td>{% for _ in range(indent) %}[â¦]:{% endfor %}{{account.basename}}{% if account.children %}:â{% endif %}</td> </tr> {% for curr, amt in account.wealth.moneys.items() %} {% if 1 < loop.index %} <tr> <td class="amt">{{amt}}</td> <td class="curr">{{curr|truncate(4,true,"â¦")}}</td> +<td>#</td> </tr> {% endif %} {% endfor %} -- 2.30.2