summaryrefslogtreecommitdiff
path: root/lib/VNWeb
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2021-12-06 13:55:37 +0100
committerYorhel <git@yorhel.nl>2021-12-06 13:55:39 +0100
commit926ff4cc553fbe6b15a08c089939846bdd88dd5b (patch)
treeb4e6db5d337295078e2019a5322b24e7f6d78a6f /lib/VNWeb
parent9792336a222226e96668aaf4eb23645dbf5fae26 (diff)
Staff::Page: Add spoiler indication for voiced characters
Fixes https://vndb.org/t2520.614
Diffstat (limited to 'lib/VNWeb')
-rw-r--r--lib/VNWeb/Staff/Page.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VNWeb/Staff/Page.pm b/lib/VNWeb/Staff/Page.pm
index 19b74331..81746048 100644
--- a/lib/VNWeb/Staff/Page.pm
+++ b/lib/VNWeb/Staff/Page.pm
@@ -161,6 +161,7 @@ sub _cast_ {
td_ class => 'tc2', sub { rdate_ $v->{c_released} };
td_ class => 'tc3', sub {
a_ href => "/$v->{cid}", title => $v->{c_original}||$v->{c_name}, $v->{c_name};
+ spoil_ $_->{spoil};
};
td_ class => 'tc4', title => $a->{original}||$a->{name}, $a->{name};
td_ class => 'tc5', $v->{note};