summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/Traits.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2012-01-25 13:59:43 +0100
committerYorhel <git@yorhel.nl>2012-01-25 13:59:43 +0100
commit6f33c4786786978ee785bc3e5020cef5f66254ef (patch)
tree6f6de09886a4baeacbae9e5e8982e4415b881dc7 /lib/VNDB/Handler/Traits.pm
parent616ddb08bf4f10560229bee326eb89ce1bef7488 (diff)
Do most of the table striping in CSS
Using CSS3 selectors. This is a more elegant approach, and since browser support for CSS3 selectors isn't as crap as it used to be I can finally make use of them.
Diffstat (limited to 'lib/VNDB/Handler/Traits.pm')
-rw-r--r--lib/VNDB/Handler/Traits.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/Traits.pm b/lib/VNDB/Handler/Traits.pm
index 0a21011c..f33d23ca 100644
--- a/lib/VNDB/Handler/Traits.pm
+++ b/lib/VNDB/Handler/Traits.pm
@@ -302,7 +302,7 @@ sub traitlist {
],
row => sub {
my($s, $n, $l) = @_;
- Tr $n % 2 ? (class => 'odd') : ();
+ Tr;
td class => 'tc1', $self->{l10n}->age($l->{added});
td class => 'tc3';
if($l->{group}) {