projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
selfservice quotations, #33852
[freeside.git]
/
httemplate
/
elements
/
tr-td-label.html
diff --git
a/httemplate/elements/tr-td-label.html
b/httemplate/elements/tr-td-label.html
index
f847389
..
c318722
100644
(file)
--- a/
httemplate/elements/tr-td-label.html
+++ b/
httemplate/elements/tr-td-label.html
@@
-4,7
+4,7
@@
VALIGN = "<% $opt{'valign'} || 'top' %>"
STYLE = "<% $style %>"
ID = "<% $opt{label_id} || $opt{id}. '_label0' %>"
VALIGN = "<% $opt{'valign'} || 'top' %>"
STYLE = "<% $style %>"
ID = "<% $opt{label_id} || $opt{id}. '_label0' %>"
- ><% $opt{label} %></TD>
+ ><% $
required %><% $
opt{label} %></TD>
<%init>
<%init>
@@
-14,4
+14,9
@@
my $style = 'padding-top: 3px';
$style .= '; '. $opt{'cell_style'}
if $opt{'cell_style'};
$style .= '; '. $opt{'cell_style'}
if $opt{'cell_style'};
+my $required = $opt{'required'} ? '<font color="#ff0000">*</font> ' : '';
+if ($required) {
+ $style .= ';font-weight: bold';
+}
+
</%init>
</%init>