From ceff812b1a51685f61b425f6ce278b591e2d4e71 Mon Sep 17 00:00:00 2001 From: Yorhel Date: Mon, 7 Oct 2019 12:20:50 +0200 Subject: Tag/trait pages: Removed cache info line, it is not accurate anymore --- lib/VNDB/Handler/Tags.pm | 5 +++-- lib/VNDB/Handler/Traits.pm | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'lib') 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}"); -- cgit v1.2.3