mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Improve install message for MBClassic plugins
This commit is contained in:
parent
151eb6bb3e
commit
7f9a81e4d6
1 changed files with 9 additions and 1 deletions
|
@ -81,7 +81,15 @@
|
||||||
} else {
|
} else {
|
||||||
$("#btnInstallDiv", page).hide();
|
$("#btnInstallDiv", page).hide();
|
||||||
$("#pSelectVersion", page).hide();
|
$("#pSelectVersion", page).hide();
|
||||||
$("#nonServerMsg", page).html("This plugin must be installed from " + pkg.targetSystem).show();
|
var msg = "This plugin must be installed from ";
|
||||||
|
switch (pkg.targetSystem) {
|
||||||
|
case "MBClassic":
|
||||||
|
msg += "the MBClassic Configurator";
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
msg += pkg.targetSystem;
|
||||||
|
}
|
||||||
|
$("#nonServerMsg", page).html(msg).show();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pkg.shortDescription) {
|
if (pkg.shortDescription) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue