summaryrefslogtreecommitdiff
path: root/gitweb
diff options
context:
space:
mode:
authorLibravatar Robert Fitzsimons <robfitz@273k.net>2006-12-22 19:38:12 +0000
committerLibravatar Junio C Hamano <junkio@cox.net>2006-12-22 23:18:13 -0800
commitaaca9675a494fb42e7caa182ecb89c1951cafefa (patch)
treef9c3f3004b930d0448b3b0e59e31842eaf25b546 /gitweb
parentMake git-show-branch options similar to git-branch. (diff)
downloadtgif-aaca9675a494fb42e7caa182ecb89c1951cafefa.tar.xz
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');
}