summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2018-03-27 19:18:51 +0200
committerYorhel <git@yorhel.nl>2018-03-27 19:18:53 +0200
commit3f857868b3b7da47f9f0bcf2bef51450332c3ae1 (patch)
treea9d988533396361bb7874759a51da25821183a65
parentbf40dbdea1913109576ecd06057f4db9263dd2f0 (diff)
Add platform icons to VN screenshot listing
https://vndb.org/t950.416
-rw-r--r--lib/VNDB/Handler/VNPage.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VNDB/Handler/VNPage.pm b/lib/VNDB/Handler/VNPage.pm
index 51f5c6b2..e9a5ee03 100644
--- a/lib/VNDB/Handler/VNPage.pm
+++ b/lib/VNDB/Handler/VNPage.pm
@@ -907,6 +907,7 @@ sub _screenshots {
next if !@scr;
p class => 'rel';
cssicon "lang $_", $self->{languages}{$_} for (@{$rel->{languages}});
+ cssicon $_, $TUWF::OBJ->{platforms}{$_} for (@{$rel->{platforms}});
a href => "/r$rel->{id}", $rel->{title};
end;
div class => 'scr';