From: Robert Fitzsimons Date: Fri, 22 Dec 2006 19:38:12 +0000 (+0000) Subject: gitweb: Add missing show '...' links change. X-Git-Tag: v1.5.0-rc0~27 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=aaca9675a494fb42e7caa182ecb89c1951cafefa;p=git.git gitweb: Add missing show '...' links change. 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 Signed-off-by: Junio C Hamano --- diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index ebbc397ee..80c04b88d 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'); }