From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-2.9 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, RP_MATCHES_RCVD shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: meta@public-inbox.org Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 8EF126338C6 for ; Fri, 4 Sep 2015 08:59:03 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 1/9] view: eliminate redundant [threaded|flat] link Date: Fri, 4 Sep 2015 08:58:51 +0000 Message-Id: <1441357139-23879-2-git-send-email-e@80x24.org> In-Reply-To: <1441357139-23879-1-git-send-email-e@80x24.org> References: <1441357139-23879-1-git-send-email-e@80x24.org> List-Id: 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 | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index bd174b1..bb3afda 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 . -- EW