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 <robfitz@273k.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Robert Fitzsimons committed
Dec 22, 2006 at 19:38 UTC
aaca9675a494fb42e7caa182ecb89c1951cafefa
1 file changed
+1
gitweb/gitweb.perl
+1
@@ -2983,6 +2983,7 @@ sub git_summary {
2983
if (@forklist) {
2984
git_print_header_div('forks');
2985
git_project_list_body(\@forklist, undef, 0, 15,
2986
+ $#forklist <= 15 ? undef :
2987
$cgi->a({-href => href(action=>"forks")}, "..."),
2988
'noheader');
2989
}