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

update channel styles

This commit is contained in:
Luke Pulverenti 2016-05-06 01:13:29 -04:00
parent 9fd023f7de
commit 9b355ec012
4 changed files with 20 additions and 12 deletions

View file

@ -2412,6 +2412,15 @@
lines.push(item.ProductionYear || '');
}
if (item.Type == 'TvChannel') {
if (item.CurrentProgram) {
lines.push(LibraryBrowser.getPosterViewDisplayName(item.CurrentProgram));
} else {
lines.push('');
}
}
if (options.showSeriesYear) {
if (item.Status == "Continuing") {

View file

@ -35,9 +35,13 @@
function getChannelsHtml(channels) {
return LibraryBrowser.getListViewHtml({
return LibraryBrowser.getPosterViewHtml({
items: channels,
smallIcon: true
shape: "square",
showTitle: true,
lazy: true,
cardLayout: true,
showDetailsMenu: true
});
}