mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #660 from Larvitar/master
Display year in "Collection" and "More like this"
This commit is contained in:
commit
4610398cb5
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue