summaryrefslogtreecommitdiff
path: root/lib/VNWeb/Misc
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2019-09-27 11:15:27 +0200
committerYorhel <git@yorhel.nl>2019-09-27 11:15:27 +0200
commitacf5a17cff9af1215046d7a571a92e32948310a4 (patch)
tree6ff4968cbf0b5c017976005a6bfb8fc0a3a4ba8b /lib/VNWeb/Misc
parentda2ee73149aade8bc88bc4f87a424dc60348c7fc (diff)
v2rw: No need to nest <tr>s, fix striping on history listings
Diffstat (limited to 'lib/VNWeb/Misc')
-rw-r--r--lib/VNWeb/Misc/History.pm18
1 files changed, 8 insertions, 10 deletions
diff --git a/lib/VNWeb/Misc/History.pm b/lib/VNWeb/Misc/History.pm
index 8c1fc8bc..bb568c07 100644
--- a/lib/VNWeb/Misc/History.pm
+++ b/lib/VNWeb/Misc/History.pm
@@ -82,16 +82,14 @@ sub tablebox_ {
my $i = $_;
my $revurl = "/$i->{type}$i->{itemid}.$i->{rev}";
- tr_ sub {
- td_ class => 'tc1_1', sub { a_ href => $revurl, "$i->{type}$i->{itemid}" };
- td_ class => 'tc1_2', sub { a_ href => $revurl, ".$i->{rev}" };
- td_ class => 'tc2', fmtdate $i->{added}, 'full';
- td_ class => 'tc3', sub { user_ $i->{requester}, $i->{username} };
- td_ class => 'tc4', sub {
- a_ href => $revurl, title => $i->{original}, shorten $i->{title}, 80;
- b_ class => 'grayedout', sub { lit_ bb2html $i->{comments}, 150 };
- };
- }
+ td_ class => 'tc1_1', sub { a_ href => $revurl, "$i->{type}$i->{itemid}" };
+ td_ class => 'tc1_2', sub { a_ href => $revurl, ".$i->{rev}" };
+ td_ class => 'tc2', fmtdate $i->{added}, 'full';
+ td_ class => 'tc3', sub { user_ $i->{requester}, $i->{username} };
+ td_ class => 'tc4', sub {
+ a_ href => $revurl, title => $i->{original}, shorten $i->{title}, 80;
+ b_ class => 'grayedout', sub { lit_ bb2html $i->{comments}, 150 };
+ };
} for @$lst;
};
};