Wrong message appearing in "Incompatble section in sidebar"
get rid of the Spotlight flag on sidebar
master
Squidly271 2023-05-20 14:11:25 -04:00
parent 4511e89c88
commit d03de78985
4 changed files with 4 additions and 11 deletions

View File

@ -21,6 +21,6 @@ f2a86fd875cb73bb095388e69ca035fd ./scripts/showStatistics.php
4425f8fd4ef662a7dc65cee01de3e419 ./scripts/updatePLG.sh
5c088a7cf82229cb64edfd4c415a84a0 ./scripts/updatePluginSupport.php
49278ae3008d2e2c54d39c1817a8c249 ./skins/Narrow/._css.php
0c4fd3c073552744767cdeb7add9f8ec ./skins/Narrow/css.php
d6491c45df22673442ca82573bab12dc ./skins/Narrow/css.php
d642a25efb891e51471fc4c7636da885 ./skins/Narrow/skin.html
515abf863dad9ccf5331050546cc246b ./skins/Narrow/skin.php
70177f02588f0f70256f49e98f99c7cc ./skins/Narrow/skin.php

View File

@ -414,14 +414,12 @@ a.popup-donate:hover{color:<?=$donateText?>;background-color:<?=$unRaid66color?>
.spotlightDateSidebar{margin-left:0.5rem !important;}
.spotlightCardBackground{clip-path: polygon(0 0,100% 0, 100% 100%);background-color: #009900;top:0px;height:9rem;width:9rem;position: relative;left:-10rem;margin-right:-9rem;}
.spotlightHome{min-width:36rem !important;max-width:36rem !important;height:24rem !important;margin-bottom:1rem;}
.spotlightPopupBackground{clip-path: polygon(0 0,100% 0, 100% 100%);background-color: #009900;top:<?=$betaPopupOffset?>;height:9rem;width:9rem;position: absolute;right: 0;}
.spotlightHeader{font-size:2rem;}
.spotlightIconArea{display:inline-block;float:left;width:10rem;}
.spotlightIcon{height:15rem;margin-bottom:-2.5rem;margin-left:-2rem;margin-top:-3rem;}
.spotlightInfoArea{margin-left:2rem;padding-left:10rem;margin-top:2rem;}
.spotlightPopup{display:inline-block;margin-top:0.75rem;}
.spotlightPopupText{position:absolute;color:white;font-size:2rem;position:absolute;top:1.2rem;right:2rem;}
.spotlightPopupText::after{content:"\f005";font-family:fontAwesome;}
.spotlightWho{font-style:italic;}
.spotlightWhy{font-weight:bold;font-size:1.6rem;line-height:1.8rem;}
.spotlightMessage{margin-top:0.8rem;line-height:1.5rem;}

View File

@ -1469,7 +1469,7 @@ function displayPopup($template) {
if ( $Language && $LanguagePack !== "en_US" ) {
$ModeratorComment .= "<a href='$disclaimLineLink' target='_blank'>$disclaimLine1</a>";
}
if ( !$Compatible || ($UninstallOnly ?? false) && $Featured )
if ( (!$Compatible || ($UninstallOnly ?? false)) && $Featured )
$ModeratorComment = "<span class='featuredIncompatible'>".sprintf(tr("%s is incompatible with your OS version. Please update the OS to proceed"),$Name)."</span>";
if ( $ModeratorComment ) {
@ -1656,11 +1656,6 @@ function displayPopup($template) {
<div class='betaPopupBackground'>
<div class='betaPopupText ca_center'>".tr("BETA")."</div></div>
";
} elseif ( $RecommendedDate ) {
$card .= "
<div class='spotlightPopupBackground'>
<div class='spotlightPopupText'></div></div>
";
} elseif ( $Installed ) {
$card .= "
<div class='installedPopup'>