diff options
author | Simon Rettberg | 2020-01-15 14:33:39 +0100 |
---|---|---|
committer | Simon Rettberg | 2020-01-15 14:33:39 +0100 |
commit | 084a7a596c0832bc520047b33957abd42fa7c631 (patch) | |
tree | 048ff2745f20917a5fe35b48c7ec8ad2dbbd1b6e /modules-available/minilinux/page.inc.php | |
parent | [minilinux] Remove duplicate DL button; hide it for orphaned versions (diff) | |
download | slx-admin-084a7a596c0832bc520047b33957abd42fa7c631.tar.gz slx-admin-084a7a596c0832bc520047b33957abd42fa7c631.tar.xz slx-admin-084a7a596c0832bc520047b33957abd42fa7c631.zip |
[minilinux] Make branches collapsible
Diffstat (limited to 'modules-available/minilinux/page.inc.php')
-rw-r--r-- | modules-available/minilinux/page.inc.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules-available/minilinux/page.inc.php b/modules-available/minilinux/page.inc.php index 0ad6cefc..a8cb7dcd 100644 --- a/modules-available/minilinux/page.inc.php +++ b/modules-available/minilinux/page.inc.php @@ -43,6 +43,7 @@ class Page_MiniLinux extends Page $versions = MiniLinux::queryAllVersionsByBranch(); // Group by branch for detailed listing foreach ($branches as &$branch) { + $branch['bid'] = 'div-' . str_replace('/', '-', $branch['branchid']); if (isset($versions[$branch['branchid']])) { $branch['versionlist'] = $this->renderVersionList($versions[$branch['branchid']]); } |