diff options
author | Yorhel <git@yorhel.nl> | 2019-09-14 12:55:19 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-09-14 12:55:21 +0200 |
commit | 6b1aaf73d0459c0e742602944b9dd2346460cf81 (patch) | |
tree | 220dd964b0f622868ab4bf7a57f978b3bb808cf3 /lib/VNDB/Util | |
parent | 2b6a309daa3c3131bee7075246ff1e38a54cc53d (diff) |
Remove spoiler warning from character revision pages
1. Every revision page may contain spoilers
2. Nobody reads those big red warnings, anyway
Diffstat (limited to 'lib/VNDB/Util')
-rw-r--r-- | lib/VNDB/Util/CommonHTML.pm | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/VNDB/Util/CommonHTML.pm b/lib/VNDB/Util/CommonHTML.pm index 7689b5f5..5e9b4a47 100644 --- a/lib/VNDB/Util/CommonHTML.pm +++ b/lib/VNDB/Util/CommonHTML.pm @@ -173,15 +173,6 @@ sub htmlRevision { div class => 'mainbox revision'; h1 "Revision $new->{rev}"; - # character information may be rather spoilerous - if($type eq 'c') { - div class => 'warning'; - h2 'SPOILER WARNING!'; - lit 'This revision page may contain major spoilers. You may want to view the <a href="/c'.$new->{id}.'">final page</a> instead.'; - end; - br;br; - } - # previous/next revision links a class => 'prev', href => sprintf('/%s%d.%d', $type, $new->{id}, $new->{rev}-1), '<- earlier revision' if $new->{rev} > 1; a class => 'next', href => sprintf('/%s%d.%d', $type, $new->{id}, $new->{rev}+1), 'later revision ->' if !$new->{lastrev}; |