]> Sergey Matveev's repositories - public-inbox.git/commitdiff
view: eliminate redundant [threaded|flat] link
authorEric Wong <e@80x24.org>
Fri, 4 Sep 2015 03:53:52 +0000 (03:53 +0000)
committerEric Wong <e@80x24.org>
Fri, 4 Sep 2015 03:53:52 +0000 (03:53 +0000)
We do not need to waste space with that link when
we have it conveniently placed where every message
is located.

lib/PublicInbox/View.pm

index bd174b1f118edd7be32937f7bf87a5d1e56a17f2..bb3afda7f945e290d558b04f29d271c36c9aad1b 100644 (file)
@@ -196,11 +196,6 @@ sub emit_thread_html {
        my $next = "<a\nid=\"s$final_anchor\">";
        $next .= $final_anchor == 1 ? 'only message in' : 'end of';
        $next .= " thread</a>, back to <a\nhref=\"../../\">index</a>";
-       if ($flat) {
-               $next .= " [<a\nhref=\"../t/#u\">threaded</a>|<b>flat</b>]";
-       } else {
-               $next .= " [<b>threaded</b>|<a\nhref=\"../T/#u\">flat</a>]";
-       }
        $next .= "\ndownload thread: <a\nhref=\"../t.mbox.gz\">mbox.gz</a>";
        $next .= " / follow: <a\nhref=\"../t.atom\">Atom feed</a>";
        $cb->write("<hr />" . PRE_WRAP . $next . "\n\n". $foot .