From: Eric Wong Date: Fri, 4 Sep 2015 03:53:52 +0000 (+0000) Subject: view: eliminate redundant [threaded|flat] link X-Git-Tag: v1.0.0~916 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=2701bc7c796af5c9b1b0dac99e722742299e4d85;p=public-inbox.git view: eliminate redundant [threaded|flat] link We do not need to waste space with that link when we have it conveniently placed where every message is located. --- diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index bd174b1f..bb3afda7 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -196,11 +196,6 @@ sub emit_thread_html { my $next = ""; $next .= $final_anchor == 1 ? 'only message in' : 'end of'; $next .= " thread, back to index"; - if ($flat) { - $next .= " [threaded|flat]"; - } else { - $next .= " [threaded|flat]"; - } $next .= "\ndownload thread: mbox.gz"; $next .= " / follow: Atom feed"; $cb->write("
" . PRE_WRAP . $next . "\n\n". $foot .