Code review changes implemented
This commit is contained in:
@@ -38,16 +38,6 @@
|
||||
color: #888;
|
||||
}
|
||||
|
||||
.listItemMediaInfo + .timerIndicator {
|
||||
[dir="ltr"] & {
|
||||
margin-left: 0.25em;
|
||||
}
|
||||
|
||||
[dir="rtl"] & {
|
||||
margin-right: 0.25em;
|
||||
}
|
||||
}
|
||||
|
||||
.indicator + .indicator {
|
||||
[dir="ltr"] & {
|
||||
margin-left: 0.25em;
|
||||
|
||||
@@ -320,3 +320,13 @@
|
||||
.listItemCheckboxContainer {
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
.listItemMediaInfo + .timerIndicator {
|
||||
[dir="ltr"] & {
|
||||
margin-left: 0.25em;
|
||||
}
|
||||
|
||||
[dir="rtl"] & {
|
||||
margin-right: 0.25em;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -96,7 +96,7 @@ function getContextMenuOptions(item, user, button) {
|
||||
};
|
||||
}
|
||||
|
||||
function getProgramScheduleHtml(items, action) {
|
||||
function getProgramScheduleHtml(items, action = 'none') {
|
||||
return listView.getListViewHtml({
|
||||
items: items,
|
||||
enableUserDataButtons: false,
|
||||
@@ -106,7 +106,7 @@ function getProgramScheduleHtml(items, action) {
|
||||
showChannel: false,
|
||||
mediaInfo: true,
|
||||
runtime: false,
|
||||
action: action,
|
||||
action,
|
||||
moreButton: false,
|
||||
recordButton: false
|
||||
});
|
||||
@@ -126,7 +126,7 @@ function renderSeriesTimerSchedule(page, apiClient, seriesTimerId) {
|
||||
result.Items = [];
|
||||
}
|
||||
|
||||
const html = getProgramScheduleHtml(result.Items, 'none');
|
||||
const html = getProgramScheduleHtml(result.Items);
|
||||
const scheduleTab = page.querySelector('#seriesTimerSchedule');
|
||||
scheduleTab.innerHTML = html;
|
||||
imageLoader.lazyChildren(scheduleTab);
|
||||
|
||||
Reference in New Issue
Block a user