Display year in "Collection" and "More like this"

This commit is contained in:
Mariusz Chryc 2020-01-02 12:29:41 +01:00
parent d111e8cf4d
commit f0ef911e61

View File

@ -1274,7 +1274,7 @@ define(["loading", "appRouter", "layoutManager", "userSettings", "connectionMana
coverImage: "MusicAlbum" == item.Type || "MusicArtist" == item.Type, coverImage: "MusicAlbum" == item.Type || "MusicArtist" == item.Type,
overlayPlayButton: true, overlayPlayButton: true,
overlayText: false, overlayText: false,
showYear: "Movie" === item.Type || "Trailer" === item.Type showYear: "Movie" === item.Type || "Trailer" === item.Type || "Series" === item.Type
}); });
var similarContent = similarCollapsible.querySelector(".similarContent"); var similarContent = similarCollapsible.querySelector(".similarContent");
similarContent.innerHTML = html; similarContent.innerHTML = html;
@ -1740,6 +1740,7 @@ define(["loading", "appRouter", "layoutManager", "userSettings", "connectionMana
items: items, items: items,
shape: shape, shape: shape,
showTitle: true, showTitle: true,
showYear: "Video" === type.mediaType || "Series" === type.type,
centerText: true, centerText: true,
lazy: true, lazy: true,
showDetailsMenu: true, showDetailsMenu: true,