mirror of
https://github.com/Squidly271/community.applications.git
synced 2025-06-03 14:52:13 +08:00
Show requirements when not met
This commit is contained in:
parent
776add2fe1
commit
a30e812fac
BIN
archive/community.applications-2023.06.26-x86_64-1.txz
Normal file
BIN
archive/community.applications-2023.06.26-x86_64-1.txz
Normal file
Binary file not shown.
BIN
archive/community.applications-2023.07.01-x86_64-1.txz
Normal file
BIN
archive/community.applications-2023.07.01-x86_64-1.txz
Normal file
Binary file not shown.
@ -1245,12 +1245,13 @@ function installPlugin(pluginURL,update=false,comment="",requires="") {
|
|||||||
if (! data.met) {
|
if (! data.met) {
|
||||||
swal({
|
swal({
|
||||||
title: "<?tr("Requirements not met")?>",
|
title: "<?tr("Requirements not met")?>",
|
||||||
text: "<?tr("The requirements for this upgrade have not been met on your system")?>",
|
text: "<?tr("The requirements for this upgrade have not been met on your system")?><br><br>"+comment,
|
||||||
allowOutsideClick: false,
|
allowOutsideClick: false,
|
||||||
showConfirmButton: true,
|
showConfirmButton: true,
|
||||||
showCancelButton: false,
|
showCancelButton: false,
|
||||||
confirmButtonText: "<?tr("OK")?>",
|
confirmButtonText: "<?tr("OK")?>",
|
||||||
type: "error"
|
type: "error",
|
||||||
|
html: true
|
||||||
},function(isConfirm) {
|
},function(isConfirm) {
|
||||||
enableSearch();
|
enableSearch();
|
||||||
});
|
});
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
f0983acc8051c406b34e5298d3c8d8b5 ./Apps.page
|
3580e1add40be466f0d5b1df14508e6c ./Apps.page
|
||||||
106b521c1feebda4d7b3f558cc016cda ./CA_notices.page
|
106b521c1feebda4d7b3f558cc016cda ./CA_notices.page
|
||||||
39053aadf8ec0771de1e2c2dd47e9058 ./ca_settings.page
|
39053aadf8ec0771de1e2c2dd47e9058 ./ca_settings.page
|
||||||
01ed7990078dee7cecfeda9a4e49377e ./default.cfg
|
01ed7990078dee7cecfeda9a4e49377e ./default.cfg
|
||||||
@ -23,4 +23,4 @@ f2a86fd875cb73bb095388e69ca035fd ./scripts/showStatistics.php
|
|||||||
49278ae3008d2e2c54d39c1817a8c249 ./skins/Narrow/._css.php
|
49278ae3008d2e2c54d39c1817a8c249 ./skins/Narrow/._css.php
|
||||||
62498637efe9636e86f805ff75ab327b ./skins/Narrow/css.php
|
62498637efe9636e86f805ff75ab327b ./skins/Narrow/css.php
|
||||||
d642a25efb891e51471fc4c7636da885 ./skins/Narrow/skin.html
|
d642a25efb891e51471fc4c7636da885 ./skins/Narrow/skin.html
|
||||||
934539b31eddb5d542009a3b147fa4a0 ./skins/Narrow/skin.php
|
cf10eaf3365b717c7b73299e786b40d0 ./skins/Narrow/skin.php
|
||||||
|
@ -1582,12 +1582,12 @@ function displayPopup($template) {
|
|||||||
$card .= "<tr><td class='popupTableLeft'>".tr("Max OS")."</td><td class='popupTableRight'>$MaxVer</td></tr>";
|
$card .= "<tr><td class='popupTableLeft'>".tr("Max OS")."</td><td class='popupTableRight'>$MaxVer</td></tr>";
|
||||||
}
|
}
|
||||||
$Licence = $Licence ?? ($License ?? "");
|
$Licence = $Licence ?? ($License ?? "");
|
||||||
if ( $Licence )
|
if ( $Licence ) {
|
||||||
if ( validURL($Licence) )
|
if ( validURL($Licence) )
|
||||||
$Licence = "<img class='licence' src='$Licence' onerror='this.outerHTML="<a href=$Licence target=_blank>".tr("Click Here")."</a>";this.onerror=null;' ></img>";
|
$Licence = "<img class='licence' src='$Licence' onerror='this.outerHTML="<a href=$Licence target=_blank>".tr("Click Here")."</a>";this.onerror=null;' ></img>";
|
||||||
|
|
||||||
$card .= "<tr><td class='popupTableLeft'>".tr("Licence")."</td><td class='popupTableRight'>$Licence</td></tr>";
|
$card .= "<tr><td class='popupTableLeft'>".tr("Licence")."</td><td class='popupTableRight'>$Licence</td></tr>";
|
||||||
|
}
|
||||||
$card .= "</table>";
|
$card .= "</table>";
|
||||||
if ( $Repo || $Private ) {
|
if ( $Repo || $Private ) {
|
||||||
$remoteIconPrefix = startsWith($ProfileIcon,"http") ? "<a class='screenshot mfp-image' href='$ProfileIcon'>" : "";
|
$remoteIconPrefix = startsWith($ProfileIcon,"http") ? "<a class='screenshot mfp-image' href='$ProfileIcon'>" : "";
|
||||||
|
BIN
webImages/1619_V.jpg
Normal file
BIN
webImages/1619_V.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 367 KiB |
Loading…
x
Reference in New Issue
Block a user