Bug 3392: Fixes highlighting in Patrons with no Checkouts report.
Fixed class definition and moved the definition from the <td> tags to the <tr> tags. Signed-off-by: Galen Charlton <galen.charlton@liblime.com> Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
This commit is contained in:
parent
4242d03b87
commit
5d2dcdd556
|
|
@ -33,12 +33,14 @@
|
|||
<!-- /TMPL_LOOP -->
|
||||
</tr>
|
||||
<!-- TMPL_LOOP NAME="looprow" -->
|
||||
<tr>
|
||||
<!-- TMPL_IF NAME="hilighted" --><td class="hilighted"><!-- TMPL_ELSE --><td><!-- /TMPL_IF -->
|
||||
<!-- TMPL_VAR NAME="rowtitle" --></td>
|
||||
<!-- TMPL_UNLESS NAME="__odd__" -->
|
||||
<tr class="highlight">
|
||||
<!-- TMPL_ELSE -->
|
||||
<tr>
|
||||
<!-- /TMPL_UNLESS -->
|
||||
<td><!-- TMPL_VAR NAME="rowtitle" --></td>
|
||||
<!-- TMPL_LOOP NAME="loopcell" -->
|
||||
<!-- TMPL_IF NAME="hilighted" --><td class="hilighted"><!-- TMPL_ELSE --><td ><!-- /TMPL_IF -->
|
||||
<!-- TMPL_IF NAME="value" --><!-- TMPL_VAR NAME="value" --><!-- /TMPL_IF -->
|
||||
<td><!-- TMPL_IF NAME="value" --><!-- TMPL_VAR NAME="value" --><!-- /TMPL_IF -->
|
||||
</td>
|
||||
<!-- /TMPL_LOOP -->
|
||||
</tr>
|
||||
|
|
|
|||
|
|
@ -208,7 +208,6 @@ sub calculate {
|
|||
|
||||
my $i=0;
|
||||
# my @totalcol;
|
||||
my $hilighted=-1;
|
||||
|
||||
#Initialization of cell values.....
|
||||
my @table;
|
||||
|
|
@ -294,9 +293,7 @@ sub calculate {
|
|||
}
|
||||
push @looprow,{ 'rowtitle' => $i ,
|
||||
'loopcell' => \@loopcell,
|
||||
'hilighted' => ($hilighted >0),
|
||||
};
|
||||
$hilighted = -$hilighted;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue