When building a html table from an account tree, apply markup to the

"total" lines so that they use the right stylesheet colors.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12293 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton 2006-01-07 19:12:35 +00:00
parent 7888e9506b
commit 10dc5c75ac

View File

@ -1132,6 +1132,8 @@
(row-type (get-val env 'row-type))
(rule-mode (and (equal? row-type 'subtotal-row)
(get-val env 'rule-mode)))
(row-markup (and (equal? row-type 'subtotal-row)
"primary-subheading"))
(multicommodity-mode (get-val env 'multicommodity-mode))
(limit-behavior
(or (get-val env 'depth-limit-behavior)
@ -1237,7 +1239,7 @@
(gnc:html-table-add-labeled-amount-line!
html-table
(+ account-cols logical-cols) ;; table-width
#f ;; row-markup
row-markup ;; row-markup
rule-mode
label
indented-depth