From c6b130848fe872e6da137c94e1990413a12401b0 Mon Sep 17 00:00:00 2001
From: tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>
Date: Tue, 9 Oct 2007 15:01:25 +0000
Subject: Adjusting 'Current Earnings' to only indent when appropriate

git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1727 4979c152-3d1c-0410-bac9-87ea11338e46
---
 templates/demo/balance_sheet.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'templates/demo')

diff --git a/templates/demo/balance_sheet.html b/templates/demo/balance_sheet.html
index 995fb5ab..e21fe7b3 100644
--- a/templates/demo/balance_sheet.html
+++ b/templates/demo/balance_sheet.html
@@ -46,7 +46,7 @@
 		account_data.text; ?></a><?lsmb
 	ELSIF account_data.subtotal; ?><b>&nbsp;&nbsp;<?lsmb
 		account_data.text; ?></b><?lsmb
-	ELSIF account_data.current_earnings; ?>&nbsp;&nbsp;<?lsmb
+	ELSIF account_data.current_earnings; IF l_heading ?>&nbsp;&nbsp;<?lsmb END;
 		account_data.text;
 	ELSE;
 		account_data;
-- 
cgit v1.2.3