From: Christian Heller <c.heller@plomlompom.de>
Date: Wed, 22 Jan 2025 19:25:02 +0000 (+0100)
Subject: Improve balance indentation display.
X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/%7B%7Bprefix%7D%7D/static/process?a=commitdiff_plain;h=3ab5b9cc15df65b8c9653169e63039d8280640f9;p=ledgplom

Improve balance indentation display.
---

diff --git a/templates/balance.tmpl b/templates/balance.tmpl
index 783e748..9ad7ecf 100644
--- a/templates/balance.tmpl
+++ b/templates/balance.tmpl
@@ -8,7 +8,7 @@
 <td class="curr">{{curr|truncate(4,true,"…")}}</td>
 {% endif %}
 {% endfor %}
-<td rowspan={{ account.wealth.moneys|length }}>{% for _ in range(indent) %}&nbsp; &nbsp; &nbsp;{% endfor %}{{account.basename}}</td>
+<td rowspan={{ account.wealth.moneys|length }}>{% for _ in range(indent) %}[…]:{% endfor %}{{account.basename}}</td>
 </tr>
 {% for curr, amt in account.wealth.moneys.items() %}
 {% if 1 < loop.index %}