summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2019-10-07 12:20:50 +0200
committerYorhel <git@yorhel.nl>2019-10-07 12:20:50 +0200
commitceff812b1a51685f61b425f6ce278b591e2d4e71 (patch)
tree0a4a27d84f306414e1abe07e8f8adc44eb822a25
parentbf734c442f14d32a166034ebc076c84b52b07840 (diff)
Tag/trait pages: Removed cache info line, it is not accurate anymore
-rw-r--r--lib/VNDB/Handler/Tags.pm5
-rw-r--r--lib/VNDB/Handler/Traits.pm4
2 files changed, 6 insertions, 3 deletions
diff --git a/lib/VNDB/Handler/Tags.pm b/lib/VNDB/Handler/Tags.pm
index 51cddfef..d674498c 100644
--- a/lib/VNDB/Handler/Tags.pm
+++ b/lib/VNDB/Handler/Tags.pm
@@ -136,7 +136,9 @@ sub tagpage {
if(!@$list) {
p; br; br; txt 'This tag has not been linked to any visual novels yet, or they were hidden because of your spoiler settings or default filters.'; end;
}
- p; br; txt 'The list below also includes all visual novels linked to child tags. This list is cached, it can take up to 24 hours after a visual novel has been tagged for it to show up on this page.'; end;
+ if(@{$t->{childs}}) {
+ p; br; txt 'The list below also includes all visual novels linked to child tags.'; end;
+ }
end 'div';
end 'form';
$self->htmlBrowseVN($list, $f, $np, "/g$t->{id}?fil=$f->{fil};m=$f->{m}", 1) if @$list;
@@ -572,7 +574,6 @@ sub vntagmod {
ul;
li; txt 'Make sure you have read the '; a href => '/d10', 'guidelines'; txt '!'; end;
li 'Don\'t forget to hit the submit button on the bottom of the page to make your changes permanent.';
- li 'Some tag information on the site is cached, it can take up to an hour for your changes to be visible everywhere.';
end;
end;
end 'div';
diff --git a/lib/VNDB/Handler/Traits.pm b/lib/VNDB/Handler/Traits.pm
index 05321988..4bf9a33d 100644
--- a/lib/VNDB/Handler/Traits.pm
+++ b/lib/VNDB/Handler/Traits.pm
@@ -122,7 +122,9 @@ sub traitpage {
if(!@$chars) {
p; br; br; txt 'This trait has not been linked to any characters yet, or they were hidden because of your spoiler settings.'; end;
}
- p; br; txt 'The list below also includes all characters linked to child traits. This list is cached, it can take up to 24 hours after a character has been edited for it to show up on this page.'; end;
+ if(@{$t->{childs}}) {
+ p; br; txt 'The list below also includes all characters linked to child traits.'; end;
+ }
end 'div';
end 'form';
@$chars && $self->charBrowseTable($chars, $np, $f, "/i$trait?m=$f->{m};fil=$f->{fil}");