1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

improve user view images

This commit is contained in:
Luke Pulverenti 2014-10-29 18:01:02 -04:00
parent 132a02a48d
commit 6b72ea474c
19 changed files with 325 additions and 224 deletions

View file

@ -1195,7 +1195,9 @@
cssClass += ' ' + LibraryBrowser.getUserDataCssClass(item.UserData.Key);
}
if (options.showChildCountIndicator && item.ChildCount) {
// The click through hasn't been working on chrome android
// The > 1 can be removed once this is resolved
if (options.showChildCountIndicator && item.ChildCount > 1) {
cssClass += ' groupedCard';
if (item.Type == 'Series') {
@ -1467,6 +1469,10 @@
getPosterViewDisplayName: function (item, displayAsSpecial, includeParentInfo) {
if (!item) {
throw new Error("null item passed into getPosterViewDisplayName");
}
var name = item.EpisodeTitle || item.Name;
if (item.Type == "TvChannel") {