summaryrefslogtreecommitdiff
path: root/gitweb
diff options
context:
space:
mode:
authorRobert Fitzsimons <robfitz@273k.net>2006-12-22 19:38:12 +0000
committerJunio C Hamano <junkio@cox.net>2006-12-22 23:18:13 -0800
commitaaca9675a494fb42e7caa182ecb89c1951cafefa (patch)
treef9c3f3004b930d0448b3b0e59e31842eaf25b546 /gitweb
parentf49006b0c79bb74bc500a9a3a883e929fa0f803e (diff)
downloadgit-aaca9675a494fb42e7caa182ecb89c1951cafefa.tar.gz
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>
Diffstat (limited to 'gitweb')
-rwxr-xr-xgitweb/gitweb.perl1
1 files changed, 1 insertions, 0 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index ebbc397ee8..80c04b88da 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');
}