mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
clean up
This commit is contained in:
parent
a678037eec
commit
bae555928f
@ -629,18 +629,23 @@ define(['connectionManager', 'cardBuilder', 'appSettings', 'dom', 'apphost', 'la
|
|||||||
function getOnNowItemsHtml(items) {
|
function getOnNowItemsHtml(items) {
|
||||||
var cardLayout = false;
|
var cardLayout = false;
|
||||||
return cardBuilder.getCardsHtml({
|
return cardBuilder.getCardsHtml({
|
||||||
items: items,
|
items: items,
|
||||||
preferThumb: true,
|
preferThumb: 'auto',
|
||||||
shape: getThumbShape(),
|
inheritThumb: false,
|
||||||
overlayText: false,
|
shape: (enableScrollX() ? 'autooverflow' : 'auto'),
|
||||||
showTitle: true,
|
showParentTitleOrTitle: true,
|
||||||
showParentTitle: true,
|
showTitle: true,
|
||||||
lazy: true,
|
centerText: true,
|
||||||
overlayPlayButton: true,
|
coverImage: true,
|
||||||
context: 'home',
|
overlayText: false,
|
||||||
centerText: !cardLayout,
|
allowBottomPadding: !enableScrollX(),
|
||||||
allowBottomPadding: !enableScrollX(),
|
showAirTime: true,
|
||||||
cardLayout: cardLayout
|
showChannelName: false,
|
||||||
|
showAirDateTime: false,
|
||||||
|
showAirEndTime: true,
|
||||||
|
defaultShape: getThumbShape(),
|
||||||
|
lines: 3,
|
||||||
|
overlayPlayButton: true
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user