From: Christian Heller <c.heller@plomlompom.de>
Date: Wed, 22 Jan 2025 19:31:48 +0000 (+0100)
Subject: Improve balance layout.
X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/static/%7B%7Bdb.prefix%7D%7D/%7B%7Bprefix%7D%7D/test?a=commitdiff_plain;h=2d009fba82d4f198367e3a748c7115b0a77d165e;p=ledgplom

Improve balance layout.
---

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 %}