diff options
author | Yorhel <git@yorhel.nl> | 2012-01-25 13:59:43 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2012-01-25 13:59:43 +0100 |
commit | 6f33c4786786978ee785bc3e5020cef5f66254ef (patch) | |
tree | 6f6de09886a4baeacbae9e5e8982e4415b881dc7 /lib/VNDB/Handler/Affiliates.pm | |
parent | 616ddb08bf4f10560229bee326eb89ce1bef7488 (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/Affiliates.pm')
-rw-r--r-- | lib/VNDB/Handler/Affiliates.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/Affiliates.pm b/lib/VNDB/Handler/Affiliates.pm index 0482e597..c353ad49 100644 --- a/lib/VNDB/Handler/Affiliates.pm +++ b/lib/VNDB/Handler/Affiliates.pm @@ -65,7 +65,7 @@ sub list { ], row => sub { my($s, $n, $l) = @_; - Tr $n % 2 ? (class => 'odd') : (); + Tr; td class => 'tc1'; a href => "/r$l->{rid}", shorten $l->{title}, 50; end; td class => 'tc2', $l->{version} || '<default>'; td class => 'tc3', $l->{hidden} ? 'YES' : 'no'; |