mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
Improve install message for MBClassic plugins
This commit is contained in:
parent
151eb6bb3e
commit
7f9a81e4d6
@ -81,7 +81,15 @@
|
||||
} else {
|
||||
$("#btnInstallDiv", 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) {
|
||||
|
Loading…
Reference in New Issue
Block a user