projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 34134 - updated UI experience
[freeside.git]
/
httemplate
/
elements
/
tr-fixed.html
diff --git
a/httemplate/elements/tr-fixed.html
b/httemplate/elements/tr-fixed.html
index
dd07d90
..
3e115d6
100644
(file)
--- a/
httemplate/elements/tr-fixed.html
+++ b/
httemplate/elements/tr-fixed.html
@@
-1,18
+1,23
@@
-<
% include('tr-td-label.html', @_ ) %
>
+<
& tr-td-label.html, @_ &
>
- <TD
BGCOLOR="#dddddd" <% $style
%>><% $value %></TD>
+ <TD
<% $style %> <% $colspan
%>><% $value %></TD>
</TR>
</TR>
-<
% include('hidden.html', %opt ) %
>
+<
& hidden.html, %opt &
>
<%init>
my %opt = @_;
<%init>
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'};
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
unless ( $opt{'noescape'} ) {
#compatibility with select-table and friends