1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

better detail page context

This commit is contained in:
Luke Pulverenti 2013-04-22 10:44:11 -04:00
parent 7304a6584e
commit dd808d8298
12 changed files with 302 additions and 798 deletions

View file

@ -159,13 +159,13 @@
}
if (item.Type == "Series") {
return "tvseries.html?id=" + item.Id;
return "itemdetails.html?id=" + item.Id;
}
if (item.Type == "Season") {
return "tvseason.html?id=" + item.Id;
return "itemdetails.html?id=" + item.Id;
}
if (item.Type == "BoxSet") {
return "boxset.html?id=" + item.Id;
return "itemdetails.html?id=" + item.Id;
}
if (item.Type == "Genre") {
return "itembynamedetails.html?genre=" + item.Name;
@ -1246,10 +1246,6 @@
html += LibraryBrowser.createGalleryImage(item.Id, "Menu", imageTags.Menu);
}
if (imageTags.Disc) {
html += LibraryBrowser.createGalleryImage(item.Id, "Disc", imageTags.Disc);
}
if (imageTags.Box) {
html += LibraryBrowser.createGalleryImage(item.Id, "Box", imageTags.Box);
@ -1269,6 +1265,10 @@
html += LibraryBrowser.createGalleryImage(item.Id, "Screenshot", item.ScreenshotImageTags[i], i);
}
}
if (imageTags.Disc) {
html += LibraryBrowser.createGalleryImage(item.Id, "Disc", imageTags.Disc);
}
return html;
},