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

update dialogs

This commit is contained in:
Luke Pulverenti 2016-09-07 01:48:14 -04:00
parent 411bc43282
commit 74e43e1346
20 changed files with 122 additions and 83 deletions

View file

@ -27,6 +27,8 @@
var promise = params.type == 'Recordings' ?
ApiClient.getLiveTvRecordings(query) :
params.type == 'RecordingSeries' ?
ApiClient.getLiveTvRecordingSeries(query) :
ApiClient.getLiveTvPrograms(query);
promise.then(function (result) {
@ -46,15 +48,15 @@
html = cardBuilder.getCardsHtml({
items: result.Items,
shape: query.IsMovie ? 'portrait' : "backdrop",
preferThumb: !query.IsMovie,
shape: query.IsMovie || params.type == 'RecordingSeries' ? 'portrait' : "backdrop",
preferThumb: !query.IsMovie && params.type != 'RecordingSeries',
context: 'livetv',
centerText: true,
lazy: true,
overlayText: false,
showTitle: true,
//showParentTitle: query.IsSeries !== false && !query.IsMovie,
showProgramAirInfo: params.type != 'Recordings',
showProgramAirInfo: params.type != 'Recordings' && params.type != 'RecordingSeries',
overlayMoreButton: true,
showYear: query.IsMovie && params.type == 'Recordings'
});