mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #3319 from SenorSmartyPants/LiveTVDisplay
Add episode details to live TV DVR schedule
This commit is contained in:
commit
47b24659a6
5 changed files with 7 additions and 3 deletions
|
@ -333,6 +333,7 @@ button::-moz-focus-inner {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.innerCardFooter > .cardText {
|
.innerCardFooter > .cardText {
|
||||||
|
@ -355,7 +356,8 @@ button::-moz-focus-inner {
|
||||||
background-position: center center;
|
background-position: center center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cardTextCentered {
|
.cardTextCentered,
|
||||||
|
.cardTextCentered > .textActionButton {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -771,6 +771,7 @@ import ServerConnections from '../ServerConnections';
|
||||||
* @returns {string} HTML markup of the card's footer text element.
|
* @returns {string} HTML markup of the card's footer text element.
|
||||||
*/
|
*/
|
||||||
function getCardFooterText(item, apiClient, options, showTitle, forceName, overlayText, imgUrl, footerClass, progressHtml, logoUrl, isOuterFooter) {
|
function getCardFooterText(item, apiClient, options, showTitle, forceName, overlayText, imgUrl, footerClass, progressHtml, logoUrl, isOuterFooter) {
|
||||||
|
item = item.ProgramInfo || item;
|
||||||
let html = '';
|
let html = '';
|
||||||
|
|
||||||
if (logoUrl) {
|
if (logoUrl) {
|
||||||
|
|
|
@ -20,7 +20,7 @@ export function getDisplayName(item, options = {}) {
|
||||||
}
|
}
|
||||||
if (item.Type === 'Episode' && item.ParentIndexNumber === 0) {
|
if (item.Type === 'Episode' && item.ParentIndexNumber === 0) {
|
||||||
name = globalize.translate('ValueSpecialEpisodeName', name);
|
name = globalize.translate('ValueSpecialEpisodeName', name);
|
||||||
} else if ((item.Type === 'Episode' || item.Type === 'Program') && item.IndexNumber != null && item.ParentIndexNumber != null && options.includeIndexNumber !== false) {
|
} else if ((item.Type === 'Episode' || item.Type === 'Program' || item.Type === 'Recording') && item.IndexNumber != null && item.ParentIndexNumber != null && options.includeIndexNumber !== false) {
|
||||||
let displayIndexNumber = item.IndexNumber;
|
let displayIndexNumber = item.IndexNumber;
|
||||||
|
|
||||||
let number = displayIndexNumber;
|
let number = displayIndexNumber;
|
||||||
|
|
|
@ -61,7 +61,7 @@ function renderActiveRecordings(context, promise) {
|
||||||
defaultShape: getBackdropShape(),
|
defaultShape: getBackdropShape(),
|
||||||
showParentTitle: false,
|
showParentTitle: false,
|
||||||
showParentTitleOrTitle: true,
|
showParentTitleOrTitle: true,
|
||||||
showTitle: false,
|
showTitle: true,
|
||||||
showAirTime: true,
|
showAirTime: true,
|
||||||
showAirEndTime: true,
|
showAirEndTime: true,
|
||||||
showChannelName: true,
|
showChannelName: true,
|
||||||
|
|
|
@ -79,6 +79,7 @@ function getTimersHtml(timers, options) {
|
||||||
html += cardBuilder.getCardsHtml({
|
html += cardBuilder.getCardsHtml({
|
||||||
items: group.items,
|
items: group.items,
|
||||||
shape: getBackdropShape(),
|
shape: getBackdropShape(),
|
||||||
|
showTitle: true,
|
||||||
showParentTitleOrTitle: true,
|
showParentTitleOrTitle: true,
|
||||||
showAirTime: true,
|
showAirTime: true,
|
||||||
showAirEndTime: true,
|
showAirEndTime: true,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue