mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Code review changes implemented
This commit is contained in:
parent
65543e77a4
commit
5c51b4b985
3 changed files with 13 additions and 13 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue