[PATCH 1/4] gitweb: Add missing show '...' links change.
- From
- Robert Fitzsimons <robfitz@273k.net>
- Date
- Dec 22, 2006, 19:38 UTC
- Message-ID
- <11668162952375-git-send-email-robfitz@273k.net>
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> ---
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