mirror of
https://github.com/Squidly271/community.applications.git
synced 2025-06-03 14:52:13 +08:00
Below
If Pinned apps comes up with No Matching Content (blacklists, incompatible etc) then disable the button Don't allow blacklisted apps to be pinned
This commit is contained in:
parent
4b1fa7dcaa
commit
0fa4fe5033
Binary file not shown.
@ -2,7 +2,7 @@
|
||||
4e55f7483b661af21a25b677179baffe ./CA_notices.page
|
||||
42a1658a916a3a3eed2a9f2af80603c4 ./ca_settings.page
|
||||
e718d7825dbdc96a17a915079222b098 ./default.cfg
|
||||
4d685cb061a11b2e757af6c0ea49ecbf ./include/exec.php
|
||||
dc9858be7384f111844595e45b4e2a18 ./include/exec.php
|
||||
d5ba81dbd93c7b149dec96def31107e9 ./include/helpers.php
|
||||
d9b0dc98ee598d44633341ac199a43e0 ./include/paths.php
|
||||
532fffdf939594c143e679da02bd841e ./javascript/libraries.js
|
||||
@ -21,4 +21,4 @@ da3b4f9b73c5c3bf65be6c42d68b51f9 ./scripts/showStatistics.php
|
||||
34554a56611dfe625889c82afd5138de ./scripts/updatePluginSupport.php
|
||||
0254b0a66007c3f6e32e7d259e8ee443 ./skins/Narrow/css.php
|
||||
0d6d0fd063af8b0ec4664a93401d83a0 ./skins/Narrow/skin.html
|
||||
57fa9f1466c2ec2f810045d61f39af9d ./skins/Narrow/skin.php
|
||||
5a6f8a4600b3846ddde94812f3e19fdb ./skins/Narrow/skin.php
|
||||
|
@ -1288,10 +1288,12 @@ function pinnedApps() {
|
||||
}
|
||||
}
|
||||
usort($displayed,"mySort");
|
||||
if ( empty($displayed) )
|
||||
$script = "$('.caPinnedMenu').addClass('caMenuDisabled').removeClass('caMenuEnabled');";
|
||||
$displayedApplications['community'] = $displayed;
|
||||
$displayedApplications['pinnedFlag'] = true;
|
||||
writeJsonFile($caPaths['community-templates-displayed'],$displayedApplications);
|
||||
postReturn(["status"=>"ok"]);
|
||||
postReturn(["status"=>"ok","script"=>$script]);
|
||||
}
|
||||
|
||||
################################################
|
||||
|
@ -1264,7 +1264,7 @@ function displayPopup($template) {
|
||||
elseif ( count($supportContext) )
|
||||
$card.= "<div class='supportPopup' id='supportPopup'><span class='ca_fa-support'> ".tr("Support")."</div>";
|
||||
|
||||
$card .= $LanguagePack != "en_US" ? "<div class='pinPopup $pinnedClass' title='$pinnedTitle' data-repository='$Repository' data-name='$SortName'><span>$pinned</span></div>" : "";
|
||||
$card .= $LanguagePack != "en_US" && ! $Blacklist ? "<div class='pinPopup $pinnedClass' title='$pinnedTitle' data-repository='$Repository' data-name='$SortName'><span>$pinned</span></div>" : "";
|
||||
if ( ! $caSettings['dockerRunning'] && (! $Plugin && ! $Language) ) {
|
||||
$card .= "<div class='ca_red'>".tr("Docker Service Not Enabled - Only Plugins Available To Be Installed Or Managed")."</div>";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user