mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
This commit is contained in:
commit
c754d22a86
2 changed files with 8 additions and 2 deletions
|
@ -15,7 +15,7 @@
|
|||
|
||||
var href = item.url || (item.IsFolder ? (item.Id ? "itemList.html?parentId=" + item.Id : "#") : "itemdetails.html?id=" + item.Id);
|
||||
|
||||
var showText = options.showTitle || !hasPrimaryImage || (item.Type !== 'Movie' && item.Type !== 'Series' && item.Type !== 'Season' && item.Type !== 'Trailer');
|
||||
var showText = options.showTitle || !hasPrimaryImage;
|
||||
|
||||
var cssClass = showText ? "posterViewItem" : "posterViewItem posterViewItemWithNoText";
|
||||
|
||||
|
|
|
@ -56,7 +56,13 @@
|
|||
html += "</li>";
|
||||
}
|
||||
|
||||
$('#ulInstalledPlugins', page).html(html).listview('refresh');
|
||||
if (plugins.length == 0 || !plugins.length) {
|
||||
html += '<li style="padding:5px;">You have no plugins installed. Browse our <a href="plugincatalog.html">plugin catalog</a> to view available plugins.</li>';
|
||||
$('#ulInstalledPlugins', page).html(html);
|
||||
}else {
|
||||
$('#ulInstalledPlugins', page).html(html).listview('refresh');
|
||||
}
|
||||
|
||||
|
||||
Dashboard.hideLoadingMsg();
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue