From 641e9b945eefeab20ea0133c6cf099418d7c6ae8 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 4 May 2013 00:38:38 -0400 Subject: [PATCH] improved item by name displays --- dashboard-ui/scripts/itembynamedetailpage.js | 10 +++++----- dashboard-ui/scripts/plugincatalogpage.js | 2 +- dashboard-ui/scripts/tvpeople.js | 2 +- dashboard-ui/tvpeople.html | 8 +++++++- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/dashboard-ui/scripts/itembynamedetailpage.js b/dashboard-ui/scripts/itembynamedetailpage.js index 57f3f52295..0696114855 100644 --- a/dashboard-ui/scripts/itembynamedetailpage.js +++ b/dashboard-ui/scripts/itembynamedetailpage.js @@ -172,10 +172,10 @@ html += ''; } - if (result.EpisodeGuestStarCount) { + if (result.EpisodeCount) { - html += ''; - html += ''; + html += ''; + html += ''; } 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: "" }); }); diff --git a/dashboard-ui/scripts/plugincatalogpage.js b/dashboard-ui/scripts/plugincatalogpage.js index 04da738a58..5639a59a69 100644 --- a/dashboard-ui/scripts/plugincatalogpage.js +++ b/dashboard-ui/scripts/plugincatalogpage.js @@ -37,7 +37,7 @@ var html = ''; var plugin = availablePlugins[i]; - html += ""; + html += ""; if (plugin.thumbImage) { html += '
'; diff --git a/dashboard-ui/scripts/tvpeople.js b/dashboard-ui/scripts/tvpeople.js index 34c0a916a4..43d0156ad9 100644 --- a/dashboard-ui/scripts/tvpeople.js +++ b/dashboard-ui/scripts/tvpeople.js @@ -5,7 +5,7 @@ SortBy: "SortName", SortOrder: "Ascending", - IncludeItemTypes: "Series,Season,Episode", + IncludeItemTypes: "Series,Episode", Recursive: true, Fields: "ItemCounts,DateCreated,UserData", PersonTypes: "", diff --git a/dashboard-ui/tvpeople.html b/dashboard-ui/tvpeople.html index db919f8972..cd2941559f 100644 --- a/dashboard-ui/tvpeople.html +++ b/dashboard-ui/tvpeople.html @@ -75,7 +75,13 @@ - + + + + + + +