mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update listviews
This commit is contained in:
parent
3197c48232
commit
1032fa887e
54 changed files with 2271 additions and 376 deletions
|
@ -1,4 +1,4 @@
|
|||
define(['layoutManager', 'datetime', 'mediaInfo', 'backdrop', 'scrollStyles'], function (layoutManager, datetime, mediaInfo, backdrop) {
|
||||
define(['layoutManager', 'datetime', 'mediaInfo', 'backdrop', 'listView', 'scrollStyles'], function (layoutManager, datetime, mediaInfo, backdrop, listView) {
|
||||
|
||||
var currentItem;
|
||||
|
||||
|
@ -931,14 +931,14 @@
|
|||
|
||||
if (item.Type == "MusicAlbum") {
|
||||
|
||||
html = LibraryBrowser.getListViewHtml({
|
||||
html = listView.getListViewHtml({
|
||||
items: result.Items,
|
||||
smallIcon: true,
|
||||
showIndex: true,
|
||||
index: 'disc',
|
||||
showIndexNumber: true,
|
||||
playFromHere: true,
|
||||
defaultAction: 'playallfromhere',
|
||||
action: 'playallfromhere',
|
||||
lazy: true
|
||||
});
|
||||
|
||||
|
@ -1315,9 +1315,9 @@
|
|||
|
||||
page.querySelector('#themeSongsCollapsible').classList.remove('hide');
|
||||
|
||||
var html = LibraryBrowser.getListViewHtml({
|
||||
items: items,
|
||||
smallIcon: true
|
||||
var html = listView.getListViewHtml({
|
||||
items: result.Items,
|
||||
sortBy: query.SortBy
|
||||
});
|
||||
|
||||
page.querySelector('#themeSongsContent').innerHTML = html;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue