From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 9D4FE1F4BE for ; Tue, 23 Jan 2024 22:09:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1706047741; bh=iPATIVkAXAlmE/ffsJC73APKl0MbPxfxON9WEwwd5B4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Z0B03z8FcDKEzgqEihOEri/FHJcTB/O9RBhT0x2GKMHj6bV+grI2cLJ8/kFIJnzI7 qT5vH7F0dkEPqmE+fEx9NXi8681uy0ZpFcmzj+oMdARMdHjtE+GkM0F5cnvp5sLbYh 8TxQYMOzJdsTp0lyJJboGFEmYNBIeamW0YQWf+ew= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 2/2] view: /$INBOX/ links to topics_{new,active}.html Date: Tue, 23 Jan 2024 22:09:00 +0000 Message-Id: <20240123220900.2045016-3-e@80x24.org> In-Reply-To: <20240123220900.2045016-1-e@80x24.org> References: <20240123220900.2045016-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: This makes the new endpoints easier-to-find. The navigation is still at the bottom of the page since I figured having it at the top is too cluttered for users on small terminals. --- lib/PublicInbox/View.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index 9d4262c1..697535ff 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -1201,7 +1201,11 @@ sub pagination_footer ($$) { $next = $next ? "$next | " : ' | '; $prev .= qq[ | latest]; } - ($next || $prev) ? "
" : ''; + my $rv = '
}; } sub paginate_recent ($$) {