From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Fitzsimons Subject: [PATCH 1/4] gitweb: Add missing show '...' links change. Date: Fri, 22 Dec 2006 19:38:11 +0000 Message-ID: <11668162952375-git-send-email-robfitz@273k.net> Cc: Robert Fitzsimons X-From: git-owner@vger.kernel.org Fri Dec 22 20:39:17 2006 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by dough.gmane.org with esmtp (Exim 4.50) id 1GxqEY-0003L4-Q6 for gcvg-git@gmane.org; Fri, 22 Dec 2006 20:39:11 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752376AbWLVTjE (ORCPT ); Fri, 22 Dec 2006 14:39:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752405AbWLVTjE (ORCPT ); Fri, 22 Dec 2006 14:39:04 -0500 Received: from igraine.blacknight.ie ([81.17.252.25]:35575 "EHLO igraine.blacknight.ie" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752376AbWLVTjB (ORCPT ); Fri, 22 Dec 2006 14:39:01 -0500 Received: from [194.125.117.173] (helo=localhost) by igraine.blacknight.ie with esmtp (Exim 4.60) (envelope-from ) id 1GxqDG-0005mx-FO; Fri, 22 Dec 2006 19:37:50 +0000 To: git@vger.kernel.org X-Mailer: git-send-email 1.4.4.3.g8aca-dirty In-Reply-To: 200612191214.58474.jnareb@gmail.com References: 200612191214.58474.jnareb@gmail.com X-blacknight-igraine-MailScanner-Information: Please contact the ISP for more information X-blacknight-igraine-MailScanner: Found to be clean X-blacknight-igraine-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2, required 7, autolearn=disabled, RCVD_IN_NERDS_IE -2.00) X-MailScanner-From: robfitz@273k.net Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: Part of the patch for "gitweb: Show '...' links in "summary" view only if there are more items" (313ce8cee665447e4476d7e8985b270346a8e5a1) is missing. Add it back in. Signed-off-by: Robert Fitzsimons --- With all the tooing and frowing this part of the original patch got lost. I'm also resubmiting the original optimizations patches with a few changes. Robert gitweb/gitweb.perl | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index ebbc397..80c04b8 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -2983,6 +2983,7 @@ sub git_summary { if (@forklist) { git_print_header_div('forks'); git_project_list_body(\@forklist, undef, 0, 15, + $#forklist <= 15 ? undef : $cgi->a({-href => href(action=>"forks")}, "..."), 'noheader'); } -- 1.4.4.3.gc902c