[Gnucash-changes] r12293 - gnucash/trunk/src/report/report-system - When building a html table from an account tree, apply markup to the

David Hampton hampton at cvs.gnucash.org
Sat Jan 7 14:12:36 EST 2006


Author: hampton
Date: 2006-01-07 14:12:35 -0500 (Sat, 07 Jan 2006)
New Revision: 12293
Trac: http://svn.gnucash.org/trac/changeset/12293

Modified:
   gnucash/trunk/src/report/report-system/html-acct-table.scm
Log:
When building a html table from an account tree, apply markup to the
"total" lines so that they use the right stylesheet colors.


Modified: gnucash/trunk/src/report/report-system/html-acct-table.scm
===================================================================
--- gnucash/trunk/src/report/report-system/html-acct-table.scm	2006-01-07 18:42:58 UTC (rev 12292)
+++ gnucash/trunk/src/report/report-system/html-acct-table.scm	2006-01-07 19:12:35 UTC (rev 12293)
@@ -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



More information about the gnucash-changes mailing list