From e582cfe1823617398657f1b46482f7c608b5aabe Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Fri, 18 Apr 2014 23:56:06 +0200 Subject: Collapse long dependency lists Collapse package dependency lists with more than 20 entries and add a link to show the full list. The JavaScript code for this originates from the archweb project. Note that the full list is shown when JavaScript is disabled or unavailable. Signed-off-by: Lukas Fleischer --- web/html/packages.php | 30 ++++++++++++++++++++++++++++++ web/template/pkg_details.php | 4 ++-- 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/web/html/packages.php b/web/html/packages.php index bf325cf..466042a 100644 --- a/web/html/packages.php +++ b/web/html/packages.php @@ -50,6 +50,36 @@ if (isset($pkgname)) { html_header($title, $details); ?> + + +

0): ?> -