]> git.ipfire.org Git - thirdparty/git.git/commit - gitweb/gitweb.perl
gitweb: Show '...' links in "summary" view only if there are more items
authorRobert Fitzsimons <robfitz@273k.net>
Tue, 19 Dec 2006 12:08:54 +0000 (12:08 +0000)
committerJunio C Hamano <junkio@cox.net>
Wed, 20 Dec 2006 06:49:59 +0000 (22:49 -0800)
commit313ce8cee665447e4476d7e8985b270346a8e5a1
treebe5b94e3b23e172abac69c888a370ed1cb13e50d
parentfc1905bb9340304fb5980841fca24638028c1c5e
gitweb: Show '...' links in "summary" view only if there are more items

Show "..." links in "summary" view to shortlog, heads (if there are
any), and tags (if there are any) only if there are more items to show
than shown already.

This means that "..." link is shown below shortened shortlog if there
are more than 16 commits, "..." link below shortened heads list if
there are more than 16 heads refs (16 branches), "..." link below
shortened tags list if there are more than 16 tags.

Modified patch from Jakub to to apply cleanly to master, also preform
the same "..." link logic to the forks list.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Robert Fitzsimons <robfitz@273k.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl