From 13820d2b168e96efa83aa04aab3e5a06c97fe78b Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Wed, 4 Jun 2014 23:30:16 +0200 Subject: Collapse long source lists In commit e582cfe (Collapse long dependency lists, 2014-04-18), we added code to automatically collapse dependency and requirement lists with more than 20 entries. Add the same functionality to source lists. Signed-off-by: Lukas Fleischer --- web/html/packages.php | 1 + web/template/pkg_details.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/web/html/packages.php b/web/html/packages.php index 466042ac..2fb9cbc6 100644 --- a/web/html/packages.php +++ b/web/html/packages.php @@ -77,6 +77,7 @@ function collapseDependsList(list) { $(document).ready(function() { collapseDependsList("#pkgdepslist"); collapseDependsList("#pkgreqslist"); + collapseDependsList("#pkgsrcslist"); }); diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index b3d02ac5..19daefce 100644 --- a/web/template/pkg_details.php +++ b/web/template/pkg_details.php @@ -359,7 +359,7 @@ if ($row["PackagerUID"]): 0): ?>
-
    +