From 6117cffcc2009853a31882530298c9aa1f6560b3 Mon Sep 17 00:00:00 2001 From: SenorSmartyPants Date: Fri, 17 Dec 2021 17:18:03 -0600 Subject: [PATCH] Add episode details to live TV DVR schedule details button should be left aligned IMO. Not sure where to change CSS yet. details link to a different place than the card --- src/components/cardbuilder/cardBuilder.js | 1 + src/scripts/livetvcomponents.js | 1 + 2 files changed, 2 insertions(+) diff --git a/src/components/cardbuilder/cardBuilder.js b/src/components/cardbuilder/cardBuilder.js index be047648a3..4a1060a808 100644 --- a/src/components/cardbuilder/cardBuilder.js +++ b/src/components/cardbuilder/cardBuilder.js @@ -771,6 +771,7 @@ import ServerConnections from '../ServerConnections'; * @returns {string} HTML markup of the card's footer text element. */ function getCardFooterText(item, apiClient, options, showTitle, forceName, overlayText, imgUrl, footerClass, progressHtml, logoUrl, isOuterFooter) { + item = item.ProgramInfo || item; let html = ''; if (logoUrl) { diff --git a/src/scripts/livetvcomponents.js b/src/scripts/livetvcomponents.js index 9fb999dd03..38035c3dc2 100644 --- a/src/scripts/livetvcomponents.js +++ b/src/scripts/livetvcomponents.js @@ -79,6 +79,7 @@ function getTimersHtml(timers, options) { html += cardBuilder.getCardsHtml({ items: group.items, shape: getBackdropShape(), + showTitle: true, showParentTitleOrTitle: true, showAirTime: true, showAirEndTime: true,