X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-fixed.html;h=dad8da03fc16565ef41c701ed7fcbc2ca6c63140;hb=d5c3ae3442a2ced726c83c4d78fde2bae3ba1691;hp=dd07d90b69a9d881c474177b7b5a55e77b337279;hpb=49fc33db77d202f175a4d8a33e3eab1e52080a4d;p=freeside.git
diff --git a/httemplate/elements/tr-fixed.html b/httemplate/elements/tr-fixed.html
index dd07d90b6..dad8da03f 100644
--- a/httemplate/elements/tr-fixed.html
+++ b/httemplate/elements/tr-fixed.html
@@ -1,6 +1,6 @@
<% include('tr-td-label.html', @_ ) %>
-
><% $value %> |
+ <% $colspan %>><% $value %> |
@@ -10,9 +10,14 @@
my %opt = @_;
-my $style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';
+my $style = $opt{'cell_style'}
+ ? ' STYLE="'. $opt{'cell_style'}. '" '
+ : ' STYLE="color:#666666" ';
+
+my $colspan = $opt{'colspan'} ? ' COLSPAN="'. $opt{'colspan'}. '" ' : '';
my $value = $opt{'formatted_value'} || $opt{'curr_value'} || $opt{'value'};
+$value = $opt{'prefix'} . $value if defined($opt{'prefix'});
unless ( $opt{'noescape'} ) {
#compatibility with select-table and friends