mirror of
https://github.com/Squidly271/community.applications.git
synced 2025-06-03 14:52:13 +08:00
Fix update status on official containers
This commit is contained in:
parent
d9519e11a3
commit
a1ae5eb773
BIN
archive/community.applications-2021.08.18-x86_64-1.txz
Normal file
BIN
archive/community.applications-2021.08.18-x86_64-1.txz
Normal file
Binary file not shown.
@ -29,4 +29,4 @@ f9c3f431935fb20801f3fef152dc7b58 ./scripts/showStatistics.php
|
|||||||
02759ea835ee4ce5a051fead96ab9b9b ./scripts/updatePluginSupport.php
|
02759ea835ee4ce5a051fead96ab9b9b ./scripts/updatePluginSupport.php
|
||||||
52a993516c25db595a0220323b0fc78e ./skins/Narrow/css.php
|
52a993516c25db595a0220323b0fc78e ./skins/Narrow/css.php
|
||||||
b5bfdf941393ebfa940ab4b0518bd9ff ./skins/Narrow/skin.html
|
b5bfdf941393ebfa940ab4b0518bd9ff ./skins/Narrow/skin.html
|
||||||
e28286a6bfbf429347630131df375e37 ./skins/Narrow/skin.php
|
e3597826774e1f7daefa33cd913da38e ./skins/Narrow/skin.php
|
||||||
|
@ -138,6 +138,7 @@ function my_display_apps($file,$pageNumber=1,$selectedApps=false,$startup=false)
|
|||||||
$ID = $template['ID'];
|
$ID = $template['ID'];
|
||||||
|
|
||||||
$tmpRepo = strpos($template['Repository'],":") ? $template['Repository'] : $template['Repository'].":latest";
|
$tmpRepo = strpos($template['Repository'],":") ? $template['Repository'] : $template['Repository'].":latest";
|
||||||
|
$tmpRepo = strpos($tmpRepo,"/") ? $tmpRepo : "library/$tmpRepo";
|
||||||
if ( ! filter_var($dockerUpdateStatus[$tmpRepo]['status'],FILTER_VALIDATE_BOOLEAN) ) {
|
if ( ! filter_var($dockerUpdateStatus[$tmpRepo]['status'],FILTER_VALIDATE_BOOLEAN) ) {
|
||||||
$template['UpdateAvailable'] = true;
|
$template['UpdateAvailable'] = true;
|
||||||
} else {
|
} else {
|
||||||
@ -639,6 +640,7 @@ function getPopupDescriptionSkin($appNumber) {
|
|||||||
if ( $caSettings['dockerRunning'] ) {
|
if ( $caSettings['dockerRunning'] ) {
|
||||||
if ( $selected ) {
|
if ( $selected ) {
|
||||||
$tmpRepo = strpos($template['Repository'],":") ? $template['Repository'] : $template['Repository'].":latest";
|
$tmpRepo = strpos($template['Repository'],":") ? $template['Repository'] : $template['Repository'].":latest";
|
||||||
|
$tmpRepo = strpos($tmpRepo,"/") ? $tmpRepo : "library/$tmpRepo";
|
||||||
if ( ! filter_var($dockerUpdateStatus[$tmpRepo]['status'],FILTER_VALIDATE_BOOLEAN) ) {
|
if ( ! filter_var($dockerUpdateStatus[$tmpRepo]['status'],FILTER_VALIDATE_BOOLEAN) ) {
|
||||||
$installLine .= "<div><a class='appIconsPopUp ca_fa-update dockerUpdate' data-name='$name'> ".tr("Update")."</a></div>";
|
$installLine .= "<div><a class='appIconsPopUp ca_fa-update dockerUpdate' data-name='$name'> ".tr("Update")."</a></div>";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user