mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add custom collection sort orders to edit page
This commit is contained in:
parent
708ca5d32f
commit
5057ffec65
12 changed files with 86 additions and 39 deletions
|
@ -1,6 +1,6 @@
|
|||
var LibraryBrowser = (function (window, document, $, screen, localStorage) {
|
||||
|
||||
var defaultBackground = "#444";
|
||||
var defaultBackground = "#333";
|
||||
|
||||
return {
|
||||
|
||||
|
@ -832,10 +832,9 @@
|
|||
|
||||
if (item.Name && options.showTitle) {
|
||||
imgUrl = 'css/images/items/list/audio.png';
|
||||
background = defaultBackground;
|
||||
} else {
|
||||
background = defaultBackground;
|
||||
}
|
||||
background = defaultBackground;
|
||||
|
||||
}
|
||||
else if (item.Type == "Recording" || item.Type == "Program") {
|
||||
|
||||
|
@ -849,10 +848,15 @@
|
|||
|
||||
if (item.Name && options.showTitle) {
|
||||
imgUrl = 'css/images/items/list/video.png';
|
||||
background = defaultBackground;
|
||||
} else {
|
||||
background = defaultBackground;
|
||||
}
|
||||
background = defaultBackground;
|
||||
}
|
||||
else if (item.Type == "Person") {
|
||||
|
||||
if (item.Name && options.showTitle) {
|
||||
imgUrl = 'css/images/items/list/person.png';
|
||||
}
|
||||
background = defaultBackground;
|
||||
}
|
||||
else {
|
||||
if (item.Name && options.showTitle) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue