Commit 13820d2b authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

Collapse long source lists

In commit e582cfe1

 (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: default avatarLukas Fleischer <archlinux@cryptocrack.de>
parent b30bb6f5
......@@ -77,6 +77,7 @@ function collapseDependsList(list) {
$(document).ready(function() {
collapseDependsList("#pkgdepslist");
collapseDependsList("#pkgreqslist");
collapseDependsList("#pkgsrcslist");
});
</script>
......
......@@ -359,7 +359,7 @@ if ($row["PackagerUID"]):
</div>
<?php if (count($sources) > 0): ?>
<div>
<ul>
<ul id="pkgsrcslist">
<?php
while (list($k, $src) = each($sources)):
$src = explode('::', $src);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment