diff --git a/dashboard-ui/collections.html b/dashboard-ui/collections.html index 6dc952ead7..9e10d5d7e6 100644 --- a/dashboard-ui/collections.html +++ b/dashboard-ui/collections.html @@ -30,8 +30,10 @@
' + LibraryBrowser.getRatingHtml(item) + '
'; - } - - var childText = null; - - if (item.Type == "BoxSet") { - - childText = item.ChildCount == 1 ? "1 Movie" : item.ChildCount + " Movies"; - - html += '' + childText + '
'; - } - else if (item.Type == "GameSystem") { - - childText = item.ChildCount == 1 ? "1 Game" : item.ChildCount + " Games"; - - html += '' + childText + '
'; - } - else if (item.Type == "MusicAlbum") { - - //childText = item.ChildCount == 1 ? "1 Song" : item.ChildCount + " Songs"; - - //html += '' + childText + '
'; - } - else if (item.Type == "Genre" || item.Type == "Studio" || item.Type == "Person" || item.Type == "MusicArtist" || item.Type == "MusicGenre" || item.Type == "GameGenre") { - - var itemCountHtml = LibraryBrowser.getItemCountsHtml(options, item); - - if (itemCountHtml) { - html += '' + itemCountHtml + '
'; - } - } - else if (item.Type == "Game") { - - html += '' + (item.GameSystem) + '
'; - } - else if (item.Type == "Episode") { - - // Skip it. Just clutter - } - else { - html += '' + LibraryBrowser.getMiscInfoHtml(item) + '
'; - } - - if (item.Type == "MusicAlbum") { - - html += '' + LibraryBrowser.getMiscInfoHtml(item) + '
'; - } - - html += '' + LibraryBrowser.getUserDataIconsHtml(item) + '
'; - - html += '