[freeside-commits] freeside/httemplate/search report_tax.cgi, 1.29,
1.30
Ivan,,,
ivan at wavetail.420.am
Thu Jan 26 23:34:19 PST 2006
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail:/tmp/cvs-serv14539
Modified Files:
report_tax.cgi
Log Message:
small visual fix to alternating row colors when show_taxclasses is on
Index: report_tax.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_tax.cgi,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- report_tax.cgi 26 Jan 2006 15:27:10 -0000 1.29
+++ report_tax.cgi 27 Jan 2006 07:34:17 -0000 1.30
@@ -413,6 +413,8 @@
</TR>
<% #some false laziness w/above
+ $bgcolor1 = '#eeeeee';
+ $bgcolor2 = '#ffffff';
foreach my $region ( @base_regions ) {
if ( $bgcolor eq $bgcolor1 ) {
@@ -440,6 +442,14 @@
<% } %>
+ <%
+ if ( $bgcolor eq $bgcolor1 ) {
+ $bgcolor = $bgcolor2;
+ } else {
+ $bgcolor = $bgcolor1;
+ }
+ %>
+
<TR>
<TD CLASS="grid" BGCOLOR="<%= $bgcolor %>">Total</TD>
<TD CLASS="grid" BGCOLOR="<%= $bgcolor %>" ALIGN="right">
More information about the freeside-commits
mailing list