summaryrefslogtreecommitdiff
path: root/lib/VNDB/Util/CommonHTML.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2010-12-10 11:57:47 +0100
committerYorhel <git@yorhel.nl>2010-12-10 11:57:47 +0100
commit5c949ff5cb57fc56e05dde010cc852f0f1207ca0 (patch)
tree74f064e785a66b20f742896ebd7a2bc4436f2dbd /lib/VNDB/Util/CommonHTML.pm
parent3362cf0391fad05a0eed1bd11a54f4c97f5260db (diff)
Added vote listings for VNs and users (/[uv]+/votes)
Diffstat (limited to 'lib/VNDB/Util/CommonHTML.pm')
-rw-r--r--lib/VNDB/Util/CommonHTML.pm9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/VNDB/Util/CommonHTML.pm b/lib/VNDB/Util/CommonHTML.pm
index 280ceddb..941bf827 100644
--- a/lib/VNDB/Util/CommonHTML.pm
+++ b/lib/VNDB/Util/CommonHTML.pm
@@ -361,7 +361,14 @@ sub htmlVoteStats {
if(@$recent) {
table class => 'recentvotes';
thead; Tr;
- td colspan => 3, mt '_votestats_recent';
+ td colspan => 3;
+ txt mt '_votestats_recent';
+ b;
+ txt '(';
+ a href => "/$type$obj->{id}/votes", mt '_votestats_allvotes';
+ txt ')';
+ end;
+ end;
end; end;
for (0..$#$recent) {
Tr $_ % 2 == 0 ? (class => 'odd') : ();