]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/WwwText.pm
wwwtext: show thread endpoint w/ indexlevel=basic
[public-inbox.git] / lib / PublicInbox / WwwText.pm
index c084b5bf3c9cb8aef403eed2fae202c67789b596..cbe82b730f765a585e3fbf019a98f5183afa3405 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2016-2019 all contributors <meta@public-inbox.org>
+# Copyright (C) 2016-2020 all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 
 # used for displaying help texts and other non-mail content
@@ -256,6 +256,11 @@ EOF
 
        $QP_URL
 
+EOF
+       } # $srch
+       my $over = $ibx->over;
+       if ($over) {
+               $$txt .= <<EOF;
 message threading
 -----------------
 
@@ -301,6 +306,10 @@ message threading
 
        $WIKI_URL/Mbox
 
+EOF
+       } # $over
+
+       $$txt .= <<EOF;
 contact
 -------
 
@@ -309,7 +318,6 @@ contact
 
 EOF
        # TODO: support admin contact info in ~/.public-inbox/config
-       }
        1;
 }