upgradable packages come first
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@632 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
parent
f771f55017
commit
b442fef333
@ -79,7 +79,8 @@ if {[llength $pkgs] > 0} {
|
|||||||
"
|
"
|
||||||
|
|
||||||
foreach pkg $pkgs {
|
foreach pkg $pkgs {
|
||||||
if {$filter && ![dict exists $::pkgmeta $pkg]} { continue }
|
if {$type ne "upgr" && $filter && \
|
||||||
|
![dict exists $::pkgmeta $pkg]} { continue }
|
||||||
pkgrow [pkg load $pkg]
|
pkgrow [pkg load $pkg]
|
||||||
}
|
}
|
||||||
puts "</table>"
|
puts "</table>"
|
||||||
|
@ -146,13 +146,13 @@ $(document).ready(function() {
|
|||||||
<div id=pkgtabs>
|
<div id=pkgtabs>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<a href=/cgi-bin/pkg.jim?type=inst>
|
|
||||||
<span>Installed</span>
|
|
||||||
</a>
|
|
||||||
</li><li>
|
|
||||||
<a href=/cgi-bin/pkg.jim?type=upgr>
|
<a href=/cgi-bin/pkg.jim?type=upgr>
|
||||||
<span>Upgrades</span>
|
<span>Upgrades</span>
|
||||||
</a>
|
</a>
|
||||||
|
</li><li>
|
||||||
|
<a href=/cgi-bin/pkg.jim?type=inst>
|
||||||
|
<span>Installed</span>
|
||||||
|
</a>
|
||||||
</li><li>
|
</li><li>
|
||||||
<a href=/cgi-bin/pkg.jim?type=avail>
|
<a href=/cgi-bin/pkg.jim?type=avail>
|
||||||
<span>Available</span>
|
<span>Available</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user