diff options
Diffstat (limited to 'lib/VNWeb/TT/TagPage.pm')
-rw-r--r-- | lib/VNWeb/TT/TagPage.pm | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/lib/VNWeb/TT/TagPage.pm b/lib/VNWeb/TT/TagPage.pm index 42c1546a..819a6bd1 100644 --- a/lib/VNWeb/TT/TagPage.pm +++ b/lib/VNWeb/TT/TagPage.pm @@ -34,22 +34,6 @@ sub infobox_ { h1_ "Tag: $t->{name}"; debug_ $t; - div_ class => 'warning', sub { - h2_ 'Tag deleted'; - p_ sub { - txt_ 'This tag has been removed from the database, and cannot be used or re-added.'; - br_; - txt_ 'File a request on the '; - a_ href => '/t/db', 'discussion board'; - txt_ ' if you disagree with this.'; - } - } if $t->{hidden} && $t->{locked}; - - div_ class => 'notice', sub { - h2_ 'Waiting for approval'; - p_ 'This tag is waiting for a moderator to approve it. You can still use it to tag VNs as you would with a normal tag.'; - } if $t->{hidden} && !$t->{locked}; - parents_ g => $t; div_ class => 'description', sub { @@ -159,7 +143,7 @@ TUWF::get qr{/$RE{grev}}, sub { my $t = db_entry tuwf->captures('id', 'rev'); return tuwf->resNotFound if !$t->{id}; - framework_ index => !tuwf->capture('rev'), title => "Tag: $t->{name}", dbobj => $t, sub { + framework_ index => !tuwf->capture('rev'), title => "Tag: $t->{name}", dbobj => $t, hiddenmsg => 1, sub { rev_ $t if tuwf->capture('rev'); div_ class => 'mainbox', sub { infobox_ $t; }; tree_ g => $t->{id}; |