1
0
Fork 0
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:
Luke Pulverenti 2014-01-03 15:32:27 -05:00
parent 708ca5d32f
commit 5057ffec65
12 changed files with 86 additions and 39 deletions

View file

@ -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) {