mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
plugin catalog collapsible sections, add plugin install disabled for non server plugins
This commit is contained in:
parent
ee5007c55d
commit
74631a28d5
4 changed files with 43 additions and 13 deletions
|
@ -30,6 +30,14 @@
|
|||
|
||||
Dashboard.setPageTitle(pkg.name);
|
||||
|
||||
if (pkg.targetSystem == 'Server') {
|
||||
$("#btnInstallDiv", page).show();
|
||||
$("#nonServerMsg", page).hide();
|
||||
}else {
|
||||
$("#btnInstallDiv", page).hide();
|
||||
$("#nonServerMsg", page).html("This plugin must be installed from "+pkg.targetSystem).show();
|
||||
}
|
||||
|
||||
if (pkg.shortDescription) {
|
||||
$('#tagline', page).show().html(pkg.shortDescription);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue