mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
improved item by name displays
This commit is contained in:
parent
d0fbbcf721
commit
641e9b945e
4 changed files with 14 additions and 8 deletions
|
@ -172,10 +172,10 @@
|
|||
html += '<label for="radioShows">TV Shows (' + result.SeriesCount + ')</label>';
|
||||
}
|
||||
|
||||
if (result.EpisodeGuestStarCount) {
|
||||
if (result.EpisodeCount) {
|
||||
|
||||
html += '<input type="radio" name="ibnItems" id="radioGuestStar" value="on" data-mini="true">';
|
||||
html += '<label for="radioGuestStar">Guest Star (' + result.EpisodeGuestStarCount + ')</label>';
|
||||
html += '<input type="radio" name="ibnItems" id="radioEpisodes" value="on" data-mini="true">';
|
||||
html += '<label for="radioEpisodes">Episodes (' + result.EpisodeCount + ')</label>';
|
||||
}
|
||||
|
||||
if (result.TrailerCount) {
|
||||
|
@ -266,13 +266,13 @@
|
|||
});
|
||||
});
|
||||
|
||||
$("#radioGuestStar", page).on("click", function () {
|
||||
$("#radioEpisodes", page).on("click", function () {
|
||||
|
||||
shape = "backdrop";
|
||||
loadItems(page, {
|
||||
MediaTypes: "",
|
||||
IncludeItemTypes: "Episode",
|
||||
PersonTypes: "GuestStar",
|
||||
PersonTypes: "",
|
||||
Artists: ""
|
||||
});
|
||||
});
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
var html = '';
|
||||
var plugin = availablePlugins[i];
|
||||
|
||||
html += "<a class='posterItem backdropPosterItem transparentPosterItem' href='addPlugin.html?name=" + encodeURIComponent(plugin.name) + "'>";
|
||||
html += "<a style='border:0;' class='posterItem backdropPosterItem transparentPosterItem' href='addPlugin.html?name=" + encodeURIComponent(plugin.name) + "'>";
|
||||
|
||||
if (plugin.thumbImage) {
|
||||
html += '<div class="posterItemImage" style="background-image:url(\'' + plugin.thumbImage + '\');"></div>';
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
SortBy: "SortName",
|
||||
SortOrder: "Ascending",
|
||||
IncludeItemTypes: "Series,Season,Episode",
|
||||
IncludeItemTypes: "Series,Episode",
|
||||
Recursive: true,
|
||||
Fields: "ItemCounts,DateCreated,UserData",
|
||||
PersonTypes: "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue