mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
Display year in "Collection" and "More like this"
This commit is contained in:
parent
d111e8cf4d
commit
f0ef911e61
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user