summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/Affiliates.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/Affiliates.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/Affiliates.pm')
-rw-r--r--lib/VNDB/Handler/Affiliates.pm2
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';