diff options
author | Yorhel <git@yorhel.nl> | 2019-08-27 11:42:23 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-08-27 11:42:26 +0200 |
commit | c076ee02e0dac255b8d8ab1d1fe04b67061aa364 (patch) | |
tree | 320f96a9eebe4968498877b937854e6f2edd8bc9 /lib/VNDB/Handler/VNPage.pm | |
parent | 81d495fd580503a02691b90f00bcac6c1bc7dcca (diff) |
Also display release link dropdown on producer pages
https://vndb.org/t12755.28
Diffstat (limited to 'lib/VNDB/Handler/VNPage.pm')
-rw-r--r-- | lib/VNDB/Handler/VNPage.pm | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/lib/VNDB/Handler/VNPage.pm b/lib/VNDB/Handler/VNPage.pm index 5841d261..74651a4e 100644 --- a/lib/VNDB/Handler/VNPage.pm +++ b/lib/VNDB/Handler/VNPage.pm @@ -835,28 +835,7 @@ sub _releases { } end; td class => 'tc6'; - my $links = $self->entryLinks(r => $rel); - my $has_dd = @$links > ($rel->{website} ? 1 : 0); - if(@$links) { - a href => $rel->{website}||'#', class => 'rllinks'; - txt scalar @$links if $has_dd; - cssicon 'external', 'External link'; - end; - if($has_dd) { - ul class => 'hidden rllinks_dd'; - for (@$links) { - li; - a href => $_->[1]; - span $_->[2] if $_->[2]; - txt $_->[0]; - end; - end; - }; - end; - } - } else { - txt ' '; - } + $self->releaseExtLinks($rel); end; end 'tr'; } |